From 387f0ff11e175248402e11d819ae3eaa6013adae Mon Sep 17 00:00:00 2001 From: normalcat Date: Tue, 29 Jul 2025 01:04:12 -0700 Subject: [PATCH] fix alleged crash with alleged bignum ante, allegedly --- lib/hooks.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/hooks.lua b/lib/hooks.lua index ac52dd7f..9dd36aed 100644 --- a/lib/hooks.lua +++ b/lib/hooks.lua @@ -2309,9 +2309,9 @@ function get_blind_amount(ante) return 100 * (0.95^(-ante)) end if (Entropy.config.ante_scaling and to_big(ante) > to_big(8) and #Cryptid.advanced_find_joker(nil, "entr_entropic", nil, nil, true) ~= 0) or G.GAME.modifiers.entropic then - return to_big(gba(actual)):tetrate(1 + ante/32) + return to_big(gba(to_number(actual))):tetrate(1 + ante/32) end - return gba(actual) or 100 + return gba(to_number(actual)) or 100 end function lerp(f1,f2,p) p = p * p