From 81657dca0a58cd544f66a72f0ec82f2743bc2ab7 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Mon, 6 May 2024 18:13:52 +0200 Subject: [PATCH] fix --- TCPServer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/TCPServer.cpp b/TCPServer.cpp index 9c36b34..d8a0497 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -273,6 +273,7 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket) case LIDAR: this->stratPatterns = { SLEEP_5S, GET_LIDAR_POS }; this->gameThread = std::thread([this]() { this->startGame(); }); + break; } this->gameThread.detach();