forked from minetest-mods/mesecons
commit
6fec23a5f2
@ -505,6 +505,7 @@ function yc_command_parsecondition(cond, L, eeprom)
|
||||
if cond:sub(i+1, i+1) == nil then break end
|
||||
if s == "=" then
|
||||
if a==nil then return nil end
|
||||
if b==nil then return nil end
|
||||
if a == b then buf = "1" end
|
||||
if a ~= b then buf = "0" end
|
||||
cond = string.gsub(cond, b..s..a, buf)
|
||||
|
Loading…
Reference in New Issue
Block a user