Fix call into nil function

This commit is contained in:
Emik 2025-03-26 12:16:48 +01:00
parent 8c2f8f4611
commit 4df5cdfc2b
Signed by untrusted user who does not match committer: emik
GPG key ID: 09CDFF9E5703688D

View file

@ -59,7 +59,7 @@ local function offset_operator(by)
end
local function to_number(x)
return type(x) == "table" and x:tonumber() or x
return type(x) == "table" and x:to_number() or x
end
SMODS.Blind {