inline Port.setstate; remove unused network codes

This commit is contained in:
Redo0
2021-05-25 20:37:29 -05:00
parent c62d7340b0
commit 09e65faec4
5 changed files with 18 additions and 32 deletions

View File

@@ -82,7 +82,7 @@ function GateDefinition.constructgate(def, objref, position, rotation)
pos[2] = x
end
Gate.addport(gate, Port.new(type, dir, {position[1]+pos[1], position[2]+pos[2], position[3]+pos[3]}, portd.causeupdate))
Gate.addport(gate, Port.new(type, dir, {position[1]+pos[1], position[2]+pos[2], position[3]+pos[3]}, portd.causeupdate, i))
end
return gate