Skip to content

Commit

Permalink
[Bug Fix] spawn_conditions map was being emptied by mistake (#4033)
Browse files Browse the repository at this point in the history
  • Loading branch information
noudess authored Jan 30, 2024
1 parent 5377bb3 commit fa783c3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions zone/spawn2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit fa783c3

Please sign in to comment.