ReadyAll no longer spawns people who are observing

Fixes #4650
This commit is contained in:
Vera Aguilera Puerto
2021-09-23 13:00:28 +02:00
parent 05a9528cd8
commit 55393699b1
2 changed files with 6 additions and 2 deletions

View File

@@ -28,6 +28,8 @@ namespace Content.Server.GameTicking
[ViewVariables]
private bool _roundStartCountdownHasNotStartedYetDueToNoPlayers;
public IReadOnlyDictionary<IPlayerSession, LobbyPlayerStatus> PlayersInLobby => _playersInLobby;
private void UpdateInfoText()
{
RaiseNetworkEvent(GetInfoMsg(), Filter.Empty().AddPlayers(_playersInLobby.Keys));