Core/DBLayer: Restore removal and cleanup of respawn times of expired instances
This commit is contained in:
@@ -532,8 +532,8 @@ void InstanceSaveManager::_ResetInstance(uint32 mapid, uint32 instanceId)
|
||||
|
||||
if (iMap && iMap->IsDungeon())
|
||||
((InstanceMap*)iMap)->Reset(INSTANCE_RESET_RESPAWN_DELAY);
|
||||
else
|
||||
sObjectMgr->DeleteRespawnTimeForInstance(instanceId); // even if map is not loaded
|
||||
|
||||
sObjectMgr->DeleteRespawnTimeForInstance(instanceId); // even if map is not loaded
|
||||
|
||||
// Free up the instance id and allow it to be reused
|
||||
sMapMgr->FreeInstanceId(instanceId);
|
||||
|
||||
Reference in New Issue
Block a user