Clean up PDA event subscriptions. (#17434)

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Pieter-Jan Briers
2023-06-24 14:02:59 +02:00
committed by GitHub
parent 4d493ba674
commit f5bd24f990
2 changed files with 28 additions and 28 deletions

View File

@@ -189,12 +189,6 @@ public sealed class AlertLevelSystem : EntitySystem
}
RaiseLocalEvent(new AlertLevelChangedEvent(station, level));
var pdas = EntityQueryEnumerator<PdaComponent>();
while (pdas.MoveNext(out var ent, out var comp))
{
RaiseLocalEvent(ent,new AlertLevelChangedEvent(station, level));
}
}
}