Fix call into nil function
This commit is contained in:
parent
8c2f8f4611
commit
4df5cdfc2b
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ local function offset_operator(by)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function to_number(x)
|
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
|
end
|
||||||
|
|
||||||
SMODS.Blind {
|
SMODS.Blind {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue