Skip to content

Commit 3559789

Browse files
Crash fix
1 parent 6dead35 commit 3559789

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
@@ -7640,7 +7640,7 @@ local lebaron_james = {
76407640
calculate = function(self, card, context)
76417641
if context.cardarea == G.play and context.individual then
76427642
if context.other_card:get_id() == 13 then
7643-
local h_size = math.max(0, math.min(1000 - card.ability.extra.h_size, card.ability.extra.h_mod))
7643+
local h_size = math.max(0, math.min(1000 - 0, card.ability.extra.h_mod))
76447644
G.hand:change_size(math.floor(h_size))
76457645
G.GAME.round_resets.temp_handsize = (G.GAME.round_resets.temp_handsize or 0) + math.floor(h_size)
76467646
if math.floor(h_size) > 0 then

0 commit comments

Comments
 (0)