Instance Reset Fix
After a crash or restart, dungeons and raids won’t be completely reset anymore.
This commit is contained in:
parent
e51b291761
commit
ae4ba89b05
@ -995,7 +995,7 @@ void MapPersistentStateManager::LoadCreatureRespawnTimes()
|
|||||||
{ continue; }
|
{ continue; }
|
||||||
|
|
||||||
MapEntry const* mapEntry = sMapStore.LookupEntry(data->mapid);
|
MapEntry const* mapEntry = sMapStore.LookupEntry(data->mapid);
|
||||||
if (!mapEntry || (instanceId && (mapId != data->mapid || mapEntry->Instanceable())))
|
if (!mapEntry || (instanceId && (mapId != data->mapid || !mapEntry->Instanceable())))
|
||||||
{ continue; }
|
{ continue; }
|
||||||
|
|
||||||
MapPersistentState* state = AddPersistentState(mapEntry, instanceId, resetTime, mapEntry->IsDungeon(), true);
|
MapPersistentState* state = AddPersistentState(mapEntry, instanceId, resetTime, mapEntry->IsDungeon(), true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user