move network functionality to new file
This commit is contained in:
@@ -20,7 +20,7 @@ function Wire.setlayer(wire, layer)
|
||||
end
|
||||
|
||||
function Wire.update(wire)
|
||||
client:send("WU\t" .. (wire.group.state~=0 and "1" or "0") .. "\t" .. wire.objref .. "\n")
|
||||
network_send("WU\t" .. (wire.group.state~=0 and "1" or "0") .. "\t" .. wire.objref .. "\n")
|
||||
end
|
||||
|
||||
function Wire.setgroup(wire, group)
|
||||
|
||||
Reference in New Issue
Block a user