Skip to content

Commit 73acd50

Browse files
committed
Fix "empty" rarities persisting into other rarities
1 parent d7f9e7c commit 73acd50

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/utils.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,7 @@ function SMODS.poll_rarity(_pool_key, _rand_key)
830830
SMODS.remove_pool(available_rarities, v.key)
831831
end
832832
end
833+
G.ARGS.TEMP_POOL = EMPTY(G.ARGS.TEMP_POOL)
833834

834835
-- Calculate total rates of rarities
835836
local total_weight = 0

version.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
return "1.0.0~BETA-1219a-STEAMODDED"
1+
return "1.0.0~BETA-1219b-STEAMODDED"

0 commit comments

Comments
 (0)