Skip to content

Commit 4f7b2d7

Browse files
committed
fix talisman crash
On Gummi Phone, thanks to `mleaf233` for the help!
1 parent 03adaa9 commit 4f7b2d7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

FinalMix.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ SMODS.DynaTextEffect {
3030

3131
-- tailsman thingy
3232
to_big = to_big or function(x) return x end
33+
to_number = to_number or function(x) return x end
3334

3435
SMODS.current_mod.optional_features = {
3536
post_trigger = true,

content/cards/17_gummiphone.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ SMODS.Joker {
3131

3232
calculate = function(self, card, context)
3333
if context.after and not context.blueprint and not context.repetition and not context.other_card then
34-
local handy = hand_chips
34+
local handy = to_number(hand_chips)
3535
card.ability.extra.old_hand_chips = handy / 10
3636
end
3737
if context.setting_blind and card.ability.extra.old_hand_chips > 0 then

0 commit comments

Comments
 (0)