Refactor Game Modes (#5857)
This commit is contained in:
committed by
GitHub
parent
d1a1ee3cbe
commit
f4d8ec1b35
@@ -204,6 +204,7 @@ namespace Content.Client.Lobby
|
||||
_lobby.ReadyButton.Text = Loc.GetString("lobby-state-ready-button-join-state");
|
||||
_lobby.ReadyButton.ToggleMode = false;
|
||||
_lobby.ReadyButton.Pressed = false;
|
||||
_lobby.ObserveButton.Disabled = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -212,6 +213,7 @@ namespace Content.Client.Lobby
|
||||
_lobby.ReadyButton.ToggleMode = true;
|
||||
_lobby.ReadyButton.Disabled = false;
|
||||
_lobby.ReadyButton.Pressed = gameTicker.AreWeReady;
|
||||
_lobby.ObserveButton.Disabled = true;
|
||||
}
|
||||
|
||||
if (gameTicker.ServerInfoBlob != null)
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<BoxContainer Orientation="Vertical" Name="LeftPanelContainer" HorizontalExpand="True">
|
||||
<hudUi:StripeBack>
|
||||
<BoxContainer Orientation="Horizontal" SeparationOverride="6" Margin="3 3 3 3">
|
||||
<cc:UICommandButton Command="observe" Name="ObserveButton" Text="{Loc 'Observe'}" StyleClasses="ButtonBig" WindowType="{x:Type lobbyUi:ObserveWarningWindow}"/>
|
||||
<cc:UICommandButton Command="observe" Name="ObserveButton" Access="Public" Text="{Loc 'Observe'}" StyleClasses="ButtonBig" WindowType="{x:Type lobbyUi:ObserveWarningWindow}"/>
|
||||
<Label Name="StartTime"
|
||||
Access="Public"
|
||||
Align="Right"
|
||||
|
||||
Reference in New Issue
Block a user