Fix Spearmaster crash
This commit is contained in:
parent
7403424764
commit
184260c8e0
2 changed files with 4 additions and 2 deletions
|
|
@ -17,5 +17,5 @@
|
||||||
"conflicts": [
|
"conflicts": [
|
||||||
"Jen"
|
"Jen"
|
||||||
],
|
],
|
||||||
"version": "1.6.8"
|
"version": "1.6.9"
|
||||||
}
|
}
|
||||||
|
|
@ -395,7 +395,9 @@ SMODS.Joker {
|
||||||
|
|
||||||
for i = #c, 1, -1 do
|
for i = #c, 1, -1 do
|
||||||
if (((c[i] or {}).ability or {}).consumeable or {}).hand_type then
|
if (((c[i] or {}).ability or {}).consumeable or {}).hand_type then
|
||||||
G.FUNCS.use_card(c[i], true)
|
c[i]:use_consumeable()
|
||||||
|
SMODS.calculate_context {using_consumeable = true, consumeable = c[i], area = c[i].from_area}
|
||||||
|
c[i]:start_dissolve()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue