summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server.cpp b/src/Server.cpp
index 11da36868..6f7d494be 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -84,7 +84,7 @@ void cServer::cTickThread::Execute(void)
if (TickTime < msPerTick)
{
// Stretch tick time until it's at least msPerTick
- std::this_thread::sleep_for(msPerTick -TickTime);
+ std::this_thread::sleep_for(msPerTick - TickTime);
}
LastTime = NowTime;