Refresh Lobby Info Box (#7521)

This commit is contained in:
Radosvik
2022-04-15 13:55:38 -05:00
committed by GitHub
parent ef4cc598ce
commit 353a7aa210
5 changed files with 12 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ namespace Content.Server.GameTicking
public IReadOnlyDictionary<IPlayerSession, LobbyPlayerStatus> PlayersInLobby => _playersInLobby;
public IReadOnlySet<NetUserId> PlayersInGame => _playersInGame;
private void UpdateInfoText()
public void UpdateInfoText()
{
RaiseNetworkEvent(GetInfoMsg(), Filter.Empty().AddPlayers(_playersInLobby.Keys));
}