Skip to content

Commit 6865e39

Browse files
committed
Fixes #1008
1 parent 05b4c4a commit 6865e39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/overrides.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ function G.UIDEF.stake_option(_type)
572572
local stake_options = {}
573573
local curr_options = {}
574574
local deck_usage = G.PROFILES[G.SETTINGS.profile].deck_usage[G.GAME.viewed_back.effect.center.key]
575-
G.viewed_stake = deck_usage and (deck_usage.wins_by_key[SMODS.stake_from_index(G.viewed_stake)] and G.viewed_stake or (get_deck_win_stake(G.GAME.viewed_back.effect.center.key) + 1)) or 1
575+
G.viewed_stake = deck_usage and ((deck_usage.wins_by_key[SMODS.stake_from_index(G.viewed_stake)] or G.PROFILES[G.SETTINGS.profile].all_unlocked) and G.viewed_stake or (get_deck_win_stake(G.GAME.viewed_back.effect.center.key) + 1)) or 1
576576
for i=1, #G.P_CENTER_POOLS.Stake do
577577
if G.PROFILES[G.SETTINGS.profile].all_unlocked or SMODS.check_applied_stakes(G.P_CENTER_POOLS.Stake[i], deck_usage or {wins_by_key = {}}) then
578578
stake_options[#stake_options + 1] = i

version.lua

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

0 commit comments

Comments
 (0)