make states numbers instead of booleans
This commit is contained in:
@@ -20,7 +20,7 @@ function Wire.setlayer(wire, layer)
|
||||
end
|
||||
|
||||
function Wire.update(wire)
|
||||
client:send("WU\t" .. bool_to_int[wire.group.state] .. "\t" .. wire.objref .. "\n")
|
||||
client:send("WU\t" .. wire.group.state .. "\t" .. wire.objref .. "\n")
|
||||
end
|
||||
|
||||
function Wire.setgroup(wire, group)
|
||||
|
||||
Reference in New Issue
Block a user