diff --git a/Content.Server/Mind/MindSystem.cs b/Content.Server/Mind/MindSystem.cs index fed78f8ad7..6e78578ed0 100644 --- a/Content.Server/Mind/MindSystem.cs +++ b/Content.Server/Mind/MindSystem.cs @@ -143,7 +143,7 @@ public sealed class MindSystem : EntitySystem private void OnMindContainerTerminating(EntityUid uid, MindContainerComponent component, ref EntityTerminatingEvent args) { // Let's not create ghosts if not in the middle of the round. - if (_gameTicker.RunLevel != GameRunLevel.InRound) + if (_gameTicker.RunLevel == GameRunLevel.PreRoundLobby) return; if (component.Mind is not { } mind) @@ -173,7 +173,7 @@ public sealed class MindSystem : EntitySystem Timer.Spawn(0, () => { // Make extra sure the round didn't end between spawning the timer and it being executed. - if (_gameTicker.RunLevel != GameRunLevel.InRound) + if (_gameTicker.RunLevel == GameRunLevel.PreRoundLobby) return; // Async this so that we don't throw if the grid we're on is being deleted.