1
0
Fork 0
mirror of https://github.com/sbrl/Minetest-WorldEditAdditions.git synced 2025-03-23 01:14:56 +00:00

added missing quotation marks

This commit is contained in:
VorTechnix 2021-11-07 07:36:43 -08:00
parent 0352595e41
commit 54268431b5

View file

@ -4,7 +4,7 @@
local function to_boolean(arg)
local typ = type(arg)
if typ == "boolean" then return arg
elseif typ == number and arg > 0 then return true
elseif typ == "number" and arg > 0 then return true
elseif arg == "false" or arg == "no" then return false
elseif typ ~= "nil" then return true
else return false end