From a4e0979bf3850ca2a4d6384805d7b845d42d73fd Mon Sep 17 00:00:00 2001 From: HeartWell Date: Tue, 4 Apr 2017 10:09:13 +0300 Subject: [PATCH] Core/Instance: Lost fix config option Rate.InstanceResetTime --- src/game/Instances/InstanceSaveMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Instances/InstanceSaveMgr.cpp b/src/game/Instances/InstanceSaveMgr.cpp index c17061d30..850457d34 100644 --- a/src/game/Instances/InstanceSaveMgr.cpp +++ b/src/game/Instances/InstanceSaveMgr.cpp @@ -507,7 +507,7 @@ void InstanceSaveManager::_ResetOrWarnAll(uint32 mapid, Difficulty difficulty, b // calculate the next reset time uint32 diff = sWorld->getIntConfig(CONFIG_INSTANCE_RESET_TIME_HOUR) * HOUR; - uint32 period = mapDiff->resetTime; + uint32 period = uint32(((mapDiff->resetTime * sWorld->getRate(RATE_INSTANCE_RESET_TIME))/DAY) * DAY); if (period < DAY) period = DAY;