summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2014-10-21 15:17:36 +0200
committerAlexander Harkness <me@bearbin.net>2014-10-21 15:17:36 +0200
commit3e0f7c2b1c9b371307a570e445d0178599abd92d (patch)
tree1716b233767604f811409a4aeef27a2012f85fc7 /src/Server.cpp
parentMissing space fix. (diff)
downloadcuberite-3e0f7c2b1c9b371307a570e445d0178599abd92d.tar
cuberite-3e0f7c2b1c9b371307a570e445d0178599abd92d.tar.gz
cuberite-3e0f7c2b1c9b371307a570e445d0178599abd92d.tar.bz2
cuberite-3e0f7c2b1c9b371307a570e445d0178599abd92d.tar.lz
cuberite-3e0f7c2b1c9b371307a570e445d0178599abd92d.tar.xz
cuberite-3e0f7c2b1c9b371307a570e445d0178599abd92d.tar.zst
cuberite-3e0f7c2b1c9b371307a570e445d0178599abd92d.zip
Diffstat (limited to '')
-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;