This commit is contained in:
ackimixs
2024-05-06 18:13:52 +02:00
parent eeca9c20d5
commit 81657dca0a

View File

@@ -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();