Skip to content

Commit a81aab1

Browse files
authored
Merge pull request #101 from HuyTheKiller/main
Use SMODS.get_blind_amount on all non-integers rather than ones greater than 3
2 parents 295bb72 + d984481 commit a81aab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

talisman.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ function lenient_bignum(x)
261261
-- Note that any ante scaling tweaks will need to manually changed...
262262
local gba = get_blind_amount
263263
function get_blind_amount(ante)
264-
if G.GAME.modifiers.scaling and G.GAME.modifiers.scaling > 3 then return SMODS.get_blind_amount(ante) end
264+
if G.GAME.modifiers.scaling and (G.GAME.modifiers.scaling ~= 1 and G.GAME.modifiers.scaling ~= 2 and G.GAME.modifiers.scaling ~= 3) then return SMODS.get_blind_amount(ante) end
265265
if type(to_big(1)) == 'number' then return gba(ante) end
266266
local k = to_big(0.75)
267267
if not G.GAME.modifiers.scaling or G.GAME.modifiers.scaling == 1 then

0 commit comments

Comments
 (0)