Skip to content

Commit ccfb300

Browse files
committed
i hate choco die
1 parent e12c18d commit ccfb300

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

items/spooky.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,9 +449,12 @@ local choco5 = { --bloodsucker
449449
if context.destroying_card:is_suit("Hearts") or context.destroying_card:is_suit("Diamonds") then
450450
if pseudorandom(pseudoseed("cry_choco_blood")) < G.GAME.probabilities.normal / 3 then
451451
context.destroying_card.will_shatter = true
452+
local destroying_Card = context.destroying_card
452453
G.E_MANAGER:add_event(Event({
453454
func = function()
454-
context.destroying_card:start_dissolve()
455+
if destroying_card then
456+
destroying_card:start_dissolve()
457+
end
455458
return true
456459
end,
457460
}))

0 commit comments

Comments
 (0)