Skip to content

Commit f9645ee

Browse files
committed
fix talisman checks
1 parent b87ce03 commit f9645ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

talisman.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if SMODS and SMODS.Mods and (not SMODS.Mods.Talisman or not SMODS.Mods.Talisman.can_load) then
1+
if SMODS and SMODS.Mods and not (SMODS.Mods.Talisman or SMODS.Mods.cdataman or {}).can_load then
22
local smods_xchips = false
33
for _, v in pairs(SMODS.scoring_parameter_keys) do
44
if v == "x_chips" then
@@ -105,4 +105,5 @@ if SMODS and SMODS.Mods and (not SMODS.Mods.Talisman or not SMODS.Mods.Talisman.
105105
to_big = to_big or function(x) return x end
106106
to_number = to_number or function(x) return x end
107107
lenient_bignum = lenient_bignum or function(x) return x end
108+
is_number = is_number or function(x) return x end
108109
end

0 commit comments

Comments
 (0)