Add a warning dialog to the observe button. (#4794)

This commit is contained in:
moonheart08
2021-10-08 09:22:57 -05:00
committed by GitHub
parent cc7d4a40b8
commit a2b04482a4
5 changed files with 43 additions and 2 deletions

View File

@@ -84,7 +84,6 @@ namespace Content.Client.Lobby
_userInterfaceManager.StateRoot.AddChild(_characterSetup);
};
_lobby.ObserveButton.OnPressed += _ => _consoleHost.ExecuteCommand("observe");
_lobby.ReadyButton.OnPressed += _ =>
{
if (!gameTicker.IsGameStarted)