[Bug Fix] spawn_conditions map was being emptied by mistake (#4033)

This commit is contained in:
Paul Coene 2024-01-30 18:48:28 -05:00 committed by GitHub
parent 5377bb3f49
commit fa783c3c6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -915,8 +915,6 @@ bool SpawnConditionManager::LoadSpawnConditions(const std::string& zone_short_na
)
);
spawn_conditions.clear();
for (const auto& e : condition_values) {
auto i = spawn_conditions.find(e.id);
if (i != spawn_conditions.end()) {