From 2e6c9ad97989732e5bc0e4b273da85c567e46c01 Mon Sep 17 00:00:00 2001 From: Johnathon Slightham Date: Tue, 31 Mar 2026 21:29:01 -0400 Subject: [PATCH] Fix missing connection points with hubs --- src/libcontrol.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libcontrol.cpp b/src/libcontrol.cpp index bda7c2e..855d61c 100644 --- a/src/libcontrol.cpp +++ b/src/libcontrol.cpp @@ -79,7 +79,8 @@ std::vector RobotController::getConnectio bool found_inverse = false; uint16_t orientation = conn.orientation; for (const auto &reverse_conn : m_connection_map.at(conn.to_module_id)) { - if (reverse_conn.to_module_id == conn.from_module_id) { + if (reverse_conn.to_module_id == conn.from_module_id && + reverse_conn.from_socket == conn.to_socket) { to_socket = reverse_conn.from_socket; found_inverse = true; if (reverse_conn.orientation != Orientation_Deg0) {