We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41be55c commit f2730ebCopy full SHA for f2730eb
lua/wire/client/node_editor/nodeeditor.lua
@@ -546,9 +546,11 @@ function Editor:SetData(data)
546
self.OutputNameCounter = 0
547
for nodeId, node in pairs(self.Nodes) do
548
local gate = getGate(node)
549
- if not gate then self:DeleteNode(nodeId)
550
- elseif gate.isInput then self.InputNameCounter = self.InputNameCounter + 1
551
- elseif gate.isOutput then self.OutputNameCounter = self.OutputNameCounter + 1 end
+ if not node.visual then
+ if not gate then self:DeleteNode(nodeId)
+ elseif gate.isInput then self.InputNameCounter = self.InputNameCounter + 1
552
+ elseif gate.isOutput then self.OutputNameCounter = self.OutputNameCounter + 1 end
553
+ end
554
end
555
556
0 commit comments