diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp index 9b2c61b6b7d..e3943b7dd05 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -2582,7 +2582,7 @@ void World::InitRandomBGResetTime() nextDayResetTime += DAY; // normalize reset time - m_NextRandomBGReset = m_NextRandomBGReset < curTime ? nextDayResetTime - DAY : nextDayResetTime; + m_NextRandomBGReset = bgtime < curTime ? nextDayResetTime - DAY : nextDayResetTime; if (!bgtime) sWorld.setWorldState(WS_BG_DAILY_RESET_TIME, uint64(m_NextRandomBGReset)); |