summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index c6168b572..65f607ee0 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -212,7 +212,7 @@ void cWorld::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;