Skip to content

Commit 3cda779

Browse files
Fix ante calc
1 parent b93654c commit 3cda779

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/overrides.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2205,8 +2205,8 @@ local smods_calc = SMODS.calculate_context
22052205
function SMODS.calculate_context(context, return_table, no_resolve)
22062206
local aaa = smods_calc(context, return_table, no_resolve)
22072207
if context.modify_ante and context.ante_end then
2208-
if G.GAME.blind then
2209-
aaa.modify = G.GAME.blind:cry_calc_ante_gain() - 1
2208+
if G.GAME.blind and G.GAME.blind:cry_calc_ante_gain() ~= 1 then
2209+
aaa.modify = G.GAME.blind:cry_calc_ante_gain()
22102210
end
22112211
end
22122212
return aaa

0 commit comments

Comments
 (0)