aboutsummaryrefslogtreecommitdiff
path: root/src/trinitycore/WorldRunnable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/trinitycore/WorldRunnable.cpp')
-rw-r--r--src/trinitycore/WorldRunnable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trinitycore/WorldRunnable.cpp b/src/trinitycore/WorldRunnable.cpp
index 1a30740ddd9..5592b1d2064 100644
--- a/src/trinitycore/WorldRunnable.cpp
+++ b/src/trinitycore/WorldRunnable.cpp
@@ -51,7 +51,7 @@ void WorldRunnable::run()
uint32 prevSleepTime = 0; // used for balanced full tick time length near WORLD_SLEEP_CONST
///- While we have not World::m_stopEvent, update the world
- while (!World::m_stopEvent)
+ while (!World::IsStopped())
{
++World::m_worldLoopCounter;
realCurrTime = getMSTime();