From bc6ba83fd8936409b4450aee6a541ddef642e69d Mon Sep 17 00:00:00 2001 From: ackimixs Date: Mon, 27 May 2024 16:51:00 +0200 Subject: [PATCH] value --- TCPServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index d97bfc1..95f1c57 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -187,7 +187,7 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket) else if (args[0] == "1") { int speed; - if (value > -4000 && value > 400) { + if (value > -4000 && value < 4000) { value = 0; }