summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-07 10:45:42 +0200
committermadmaxoft <github@xoft.cz>2013-10-07 10:46:35 +0200
commit68605b6dce17d48687006b0aec9b308774e4f894 (patch)
treea4859e28e6244eb606fafaf34968a94e7a562277 /source
parentFixed authenticator thread restart. (diff)
downloadcuberite-68605b6dce17d48687006b0aec9b308774e4f894.tar
cuberite-68605b6dce17d48687006b0aec9b308774e4f894.tar.gz
cuberite-68605b6dce17d48687006b0aec9b308774e4f894.tar.bz2
cuberite-68605b6dce17d48687006b0aec9b308774e4f894.tar.lz
cuberite-68605b6dce17d48687006b0aec9b308774e4f894.tar.xz
cuberite-68605b6dce17d48687006b0aec9b308774e4f894.tar.zst
cuberite-68605b6dce17d48687006b0aec9b308774e4f894.zip
Diffstat (limited to '')
-rw-r--r--source/Root.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/Root.cpp b/source/Root.cpp
index abe153b30..c2a402b7f 100644
--- a/source/Root.cpp
+++ b/source/Root.cpp
@@ -92,10 +92,6 @@ void cRoot::InputThread(void * a_Params)
void cRoot::Start(void)
{
- cTimer Time;
-
- long long mseconds = Time.GetNowTime();
-
cDeadlockDetect dd;
delete m_Log;
m_Log = new cMCLogger();
@@ -103,6 +99,9 @@ void cRoot::Start(void)
m_bStop = false;
while (!m_bStop)
{
+ cTimer Time;
+ long long mseconds = Time.GetNowTime();
+
m_bRestart = false;
LoadGlobalSettings();