Core/Instance: Lost fix config option Rate.InstanceResetTime
This commit is contained in:
parent
4e40707f5a
commit
a4e0979bf3
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue