Core/Maps: Cleaned up incorrect error log

This commit is contained in:
Shauren
2023-12-29 20:41:25 +01:00
parent 1ef0c04520
commit f26a93a8c1

View File

@@ -2459,7 +2459,13 @@ void Map::InitSpawnGroupState()
return;
for (uint32 spawnGroupId : *spawnGroups)
{
SpawnGroupTemplateData const* spawnGroupTemplate = ASSERT_NOTNULL(GetSpawnGroupData(spawnGroupId));
if (spawnGroupTemplate->flags & SPAWNGROUP_FLAG_SYSTEM)
continue;
SetSpawnGroupActive(spawnGroupId, sConditionMgr->IsMapMeetingNotGroupedConditions(CONDITION_SOURCE_TYPE_SPAWN_GROUP, spawnGroupId, this));
}
}
void Map::UpdateSpawnGroupConditions()