Skip to content

Commit 4c17171

Browse files
committed
fix negatives
1 parent 6d43b9c commit 4c17171

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

manipulate.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Cryptid.misprintize_value_blacklist = {
1515
colour = false,
1616
suit_nominal_original = false,
1717
times_played = false,
18+
extra_slots_used = false
1819
-- TARGET: Misprintize Value Blacklist (format: key = false, )
1920
}
2021
Cryptid.misprintize_bignum_blacklist = {
@@ -273,4 +274,4 @@ function Cryptid.sanity_check(val, is_big)
273274
return to_number(val)
274275
end
275276
return val
276-
end
277+
end

talisman.lua

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,4 @@
11
if SMODS and SMODS.Mods and (not SMODS.Mods.Talisman or not SMODS.Mods.Talisman.can_load) then
2-
function to_number(a)
3-
return a
4-
end
5-
function to_big(a)
6-
return a
7-
end
8-
function lenient_bignum(a)
9-
return a
10-
end
11-
function is_number(x)
12-
return type(x) == "number"
13-
end
14-
152
local smods_xchips = false
163
for _, v in pairs(SMODS.scoring_parameter_keys) do
174
if v == "x_chips" then

0 commit comments

Comments
 (0)