Core/OutdoorPvP: Move Halaa spawns to db using worldstate conditions

This commit is contained in:
Shauren authored and Ovahlord committed 2022-12-26 11:39:40 +01:00
1 parent cbd46b7664
commit 9f7227e7b5
7 files changed
+335 -355

No files matched your search

+1 -1
View File
@@ -2208,7 +2208,7 @@ void Map::UpdateSpawnGroupConditions()
if (shouldBeActive)
SpawnGroupSpawn(spawnGroupId);
else if (ASSERT_NOTNULL(GetSpawnGroupData(spawnGroupId))->flags & SPAWNGROUP_FLAG_DESPAWN_ON_CONDITION_FAILURE)
SpawnGroupDespawn(spawnGroupId);
SpawnGroupDespawn(spawnGroupId, true);
else
SetSpawnGroupInactive(spawnGroupId);
}