Make lobby ready button clear what state you are in (#12152)

This commit is contained in:
theashtronaut
2022-11-04 00:51:25 +00:00
committed by GitHub
parent e5aa4ecd59
commit 794e3504f2
2 changed files with 3 additions and 3 deletions

View File

@@ -180,7 +180,7 @@ namespace Content.Client.Lobby
else
{
_lobby!.StartTime.Text = string.Empty;
_lobby!.ReadyButton.Text = Loc.GetString("lobby-state-ready-button-ready-up-state");
_lobby!.ReadyButton.Text = Loc.GetString(_lobby!.ReadyButton.Pressed ? "lobby-state-player-status-ready": "lobby-state-player-status-not-ready");
_lobby!.ReadyButton.ToggleMode = true;
_lobby!.ReadyButton.Disabled = false;
_lobby!.ReadyButton.Pressed = _gameTicker.AreWeReady;