Skip to content

Commit 49583ba

Browse files
Fix Antimatter Crash
1 parent 3c7a89a commit 49583ba

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

items/deck.lua

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,12 @@ local antimatter = {
598598
if G.P_CENTERS[v] then
599599
G.GAME.used_vouchers[v] = true
600600
G.GAME.starting_voucher_count = (G.GAME.starting_voucher_count or 0) + 1
601-
Card.apply_to_run(nil, G.P_CENTERS[v])
601+
G.E_MANAGER:add_event(Event({
602+
func = function()
603+
Card.apply_to_run(nil, G.P_CENTERS[v])
604+
return true
605+
end,
606+
}))
602607
end
603608
end
604609
end

0 commit comments

Comments
 (0)