Fix Spearmaster crash
This commit is contained in:
parent
e902d8b72e
commit
f72f0ae7c5
2 changed files with 2 additions and 2 deletions
|
|
@ -17,5 +17,5 @@
|
|||
"conflicts": [
|
||||
"Jen"
|
||||
],
|
||||
"version": "1.6.5"
|
||||
"version": "1.6.6"
|
||||
}
|
||||
|
|
@ -387,7 +387,7 @@ SMODS.Joker {
|
|||
cost = Cryptid and 12 or 20,
|
||||
rarity = Cryptid and epic or 4,
|
||||
Bakery_can_use = function(_, card)
|
||||
return not card.debuff and Jane.can_use() and next(G.pack_cards.cards)
|
||||
return not card.debuff and Jane.can_use() and G.pack_cards and G.pack_cards.cards and next(G.pack_cards.cards)
|
||||
end,
|
||||
Bakery_use_button_text = function() return "USE ALL" end,
|
||||
Bakery_use_joker = function()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue