diff --git a/src/back.lua b/src/back.lua index 26398b2..03433e5 100644 --- a/src/back.lua +++ b/src/back.lua @@ -162,8 +162,14 @@ function ease_ante(mod) end if G.GAME.tortoise and mod > 0 then - local disp = tonumber(G.GAME.round_resets.ante_disp) + mod / 2 - mod = mod / 2 + (disp == math.floor(disp) and 0.5 or 0) + local remainder = 0 + + if mod % 2 == 1 then + G.GAME.tortoise_halved = not G.GAME.tortoise_halved + remainder = G.GAME.tortoise_halved and 0 or 1 + end + + mod = math.floor(mod / 2) + remainder end orig_ante(mod)