Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarWireInterface.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-03-29 02:48:38 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-03-29 02:48:38 +1100
commit8fee64013ef5902b167883523a11706c77b9cfb4 (patch)
treea3d268f59f2c08e41d2df3dd10c22be091129b02 /source/frontend/StarWireInterface.cpp
parent1510ed28e57a412ec49416b0c654b4b71dfe0b7b (diff)
don't deselect the wire after making one connection
Diffstat (limited to 'source/frontend/StarWireInterface.cpp')
-rw-r--r--source/frontend/StarWireInterface.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/frontend/StarWireInterface.cpp b/source/frontend/StarWireInterface.cpp
index 9d34a5b..7238218 100644
--- a/source/frontend/StarWireInterface.cpp
+++ b/source/frontend/StarWireInterface.cpp
@@ -259,7 +259,6 @@ WireConnector::SwingResult WirePane::swing(WorldGeometry const& geometry, Vec2F
} else if (m_sourceConnector.entityLocation == matchNode->entityLocation) {
return Mismatch;
} else {
- m_connecting = false;
if (matchDirection == WireDirection::Output)
m_worldClient->connectWire(*matchNode, m_sourceConnector);
else