make net states pointers
This commit is contained in:
@@ -21,7 +21,7 @@ end
|
||||
|
||||
function Wire.update(wire)
|
||||
if wire.layer~=-1 then
|
||||
network_send("WU\t" .. (wire.group.state~=0 and "1" or "0") .. "\t" .. wire.objref .. "\n")
|
||||
network_send("WU\t" .. (wire.group.state[0]~=0 and "1" or "0") .. "\t" .. wire.objref .. "\n")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user