Skip to content

Commit a9455b0

Browse files
committed
better abstract nil checks
1 parent 7a35913 commit a9455b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

items/misc.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2570,7 +2570,7 @@ return {
25702570
card,
25712571
"cry_abstract_destroy2",
25722572
1,
2573-
card and card.ability.extra.odds_after_round or self.config.extra.odds_after_round
2573+
card and card.ability and card.ability.extra and card.ability.extra.odds_after_round or self.config.extra.odds_after_round or 4
25742574
)
25752575
then
25762576
self.ability.extra.marked = true

0 commit comments

Comments
 (0)