Skip to content

Commit fff0e03

Browse files
committed
fix lebaron crash
1 parent 0aaed9d commit fff0e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

items/misc_joker.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9403,7 +9403,7 @@ local lebaron_james = {
94039403
local max_h_mod = card.ability.immutable.max_h_mod
94049404

94059405
local available_h = math.max(0, max_h_mod - added_h)
9406-
local h_size = math.max(0, math.min(available_h, h_mod))
9406+
local h_size = to_number(math.max(0, math.min(available_h, h_mod)))
94079407

94089408
if h_size > 0 then
94099409
-- Apply hand size bonus

0 commit comments

Comments
 (0)