Clean up PDA event subscriptions. (#17434)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4d493ba674
commit
f5bd24f990
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user