Fixes missing namespace

develop
Josh Cooper 2022-01-26 09:48:29 -08:00 committed by Myk
parent ba5710f263
commit 524f1670ed
1 changed files with 1 additions and 1 deletions

@ -606,7 +606,7 @@ static void manageNewUnitActiveEvent(color_ostream& out) {
unordered_set<int32_t> activeUnits_replacement;
multimap<Plugin*,EventHandler> copy(handlers[EventType::NEW_UNIT_ACTIVE].begin(), handlers[EventType::NEW_UNIT_ACTIVE].end());
int32_t tick = df::global::world->frame_counter;
for (auto unit : world->units.active) {
for (auto unit : df::global::world->units.active) {
activeUnits_replacement.emplace(unit);
if(activeUnits.find(unit) == activeUnits.end()){
for (auto &iter : copy) {