From 9574b532dc1b1838489c853d0d9d8e3be09888ee Mon Sep 17 00:00:00 2001 From: Emik Date: Sat, 23 May 2026 19:13:13 +0200 Subject: [PATCH] Fix Spearmaster crash --- manifest.json | 2 +- src/slugcat.lua | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 92360df..72ecc19 100644 --- a/manifest.json +++ b/manifest.json @@ -17,5 +17,5 @@ "conflicts": [ "Jen" ], - "version": "1.6.8" + "version": "1.6.9" } \ No newline at end of file diff --git a/src/slugcat.lua b/src/slugcat.lua index 3277685..17ae33e 100644 --- a/src/slugcat.lua +++ b/src/slugcat.lua @@ -395,7 +395,9 @@ SMODS.Joker { for i = #c, 1, -1 do 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,