Skip to content

Commit

Permalink
Fix The Arm simulating hands with level 0
Browse files Browse the repository at this point in the history
  • Loading branch information
DivvyCr committed Mar 26, 2024
1 parent 2165d09 commit 6d7a9fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mods/DVSimulate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ end

function DV.SIM.init_chips_mult()
local hand_info = G.GAME.hands[DV.SIM.data.scoring_name]
if G.GAME.blind.name == "The Arm" then
if G.GAME.blind.name == "The Arm" and hand_info.level > 1 then
-- Account for -1 level:
DV.SIM.mult = mod_mult(math.max(1, hand_info.mult - hand_info.l_mult))
DV.SIM.chips = mod_chips(math.max(0, hand_info.chips - hand_info.l_chips))
Expand Down

0 comments on commit 6d7a9fd

Please sign in to comment.