using Content.Server.Chat.Systems;
using Content.Server.Communications;
using Content.Server.DeviceNetwork.Systems;
+using Content.Server.GameTicking;
using Content.Server.GameTicking.Events;
using Content.Server.Pinpointer;
using Content.Server.Popups;
[Dependency] private readonly CommunicationsConsoleSystem _commsConsole = default!;
[Dependency] private readonly DeviceNetworkSystem _deviceNetworkSystem = default!;
[Dependency] private readonly DockingSystem _dock = default!;
+ [Dependency] private readonly GameTicker _ticker = default!;
[Dependency] private readonly IdCardSystem _idSystem = default!;
[Dependency] private readonly NavMapSystem _navMap = default!;
[Dependency] private readonly MapLoaderSystem _loader = default!;
public override void Update(float frameTime)
{
base.Update(frameTime);
- UpdateEmergencyConsole(frameTime);
+ // Don't handle any of this logic if in lobby
+ if (_ticker.RunLevel != GameRunLevel.PreRoundLobby)
+ UpdateEmergencyConsole(frameTime);
}
/// <summary>