Skip to content

Commit 5f38d99

Browse files
committed
fix crash due to tutorial stuff
1 parent 7cc56ad commit 5f38d99

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/misc.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,3 +1452,11 @@ end
14521452
function Cryptid.funny_log(x, y)
14531453
return math.log(y) / math.log(x)
14541454
end
1455+
1456+
local say_stuff_ref = Card_Character.say_stuff
1457+
function Card_Character:say_stuff(n, not_first, quip_key)
1458+
local quip = SMODS.JimboQuips[quip_key]
1459+
if quip then
1460+
return say_stuff_ref(self, n, not_first, quip_key)
1461+
end
1462+
end

0 commit comments

Comments
 (0)