diff options
author | Shauren <shauren.trinity@gmail.com> | 2023-03-21 12:07:54 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2023-03-21 12:07:54 +0100 |
commit | 2569dc8cfec7a5fd89f037579ea6081504b9223f (patch) | |
tree | faa1c70bb7d9f00081d3a70498efe1ab98cd5410 /src/server/game/Maps/MapManager.cpp | |
parent | 5f642b78f04bbbc723d573362ff25f2ede24f5af (diff) |
Core/Instances: Fixed not being able to reenter instances that have no encounters completed
Closes #28737
Diffstat (limited to 'src/server/game/Maps/MapManager.cpp')
-rw-r--r-- | src/server/game/Maps/MapManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Maps/MapManager.cpp b/src/server/game/Maps/MapManager.cpp index fe9c950cc49..0c2d686d10d 100644 --- a/src/server/game/Maps/MapManager.cpp +++ b/src/server/game/Maps/MapManager.cpp @@ -95,7 +95,7 @@ InstanceMap* MapManager::CreateInstance(uint32 mapId, uint32 instanceId, Instanc sDB2Manager.GetDownscaledMapDifficultyData(mapId, difficulty); TC_LOG_DEBUG("maps", "MapInstanced::CreateInstance: {}map instance {} for {} created with difficulty {}", - instanceLock && instanceLock->GetInstanceId() ? "" : "new ", instanceId, mapId, sDifficultyStore.AssertEntry(difficulty)->Name[sWorld->GetDefaultDbcLocale()]); + instanceLock && instanceLock->IsNew() ? "" : "new ", instanceId, mapId, sDifficultyStore.AssertEntry(difficulty)->Name[sWorld->GetDefaultDbcLocale()]); InstanceMap* map = new InstanceMap(mapId, i_gridCleanUpDelay, instanceId, difficulty, team, instanceLock); ASSERT(map->IsDungeon()); |