make net states pointers
This commit is contained in:
@@ -148,12 +148,12 @@ function network_update()
|
||||
if Port.getstate(port)==1 then numportson = numportson+1 end
|
||||
end
|
||||
|
||||
info = "\\c5Net " .. tostring(group):match("table: 0x(.+)"):upper() .. "\n" .. (Wire.getgroup(wire).state==1 and "\\c2On" or "\\c0Off") .. "\n" ..
|
||||
info = "\\c5Net " .. tostring(group):match("table: 0x(.+)"):upper() .. "\n" .. (Wire.getgroup(wire).state[0]==1 and "\\c2On" or "\\c0Off") .. "\n" ..
|
||||
"Wires: "..numwires.."\n"..
|
||||
"In Ports: " ..numportsi.."\n"..
|
||||
"Out Ports: "..numportso.."\n"..
|
||||
"Gates Update: "..numgatesu.."\n"..
|
||||
"Out Ports On: "..(group.state_num)
|
||||
"Out Ports On: "..(group.state_num[0])
|
||||
;
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user