Skip to content

Commit ffaf30d

Browse files
committed
fix
1 parent 9abe132 commit ffaf30d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/hooks.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,7 @@ function level_up_hand(card, hand, instant, amount, ...)
13341334
hand = "High Card"
13351335
end
13361336
local val = ref(card,hand,instant,amount, ...)
1337-
if card and card.config.center.set == "Joker" then
1337+
if card and and card.config and card.config.center and card.config.center.set == "Joker" then
13381338
G.E_MANAGER:add_event(Event({
13391339
func = function()
13401340
G.GAME.hands[hand].level = level

0 commit comments

Comments
 (0)