Remove "join public server" button. (#6839)

:salute:
This commit is contained in:
Pieter-Jan Briers
2022-02-22 15:13:51 +01:00
committed by GitHub
parent 242ca13f62
commit cfedff4a08
3 changed files with 0 additions and 23 deletions

View File

@@ -16,12 +16,6 @@
PlaceHolder="{Loc 'main-menu-username-text'}"
HorizontalExpand="True" />
</BoxContainer>
<Button Name="JoinPublicServerButton"
Access="Public"
Text="{Loc 'main-menu-join-public-server-button'}"
StyleIdentifier="mainMenu"
TextAlign="Center" />
<Control MinSize="0 2" />
<LineEdit Name="AddressBox"
Access="Public"
Text="localhost"

View File

@@ -31,11 +31,6 @@ namespace Content.Client.MainMenu.UI
var currentUserName = configMan.GetCVar(CVars.PlayerName);
UsernameBox.Text = currentUserName;
#if !FULL_RELEASE
JoinPublicServerButton.Disabled = true;
JoinPublicServerButton.ToolTip = Loc.GetString("main-menu-join-public-server-button-tooltip");
#endif
LayoutContainer.SetAnchorPreset(VersionLabel, LayoutContainer.LayoutPreset.BottomRight);
LayoutContainer.SetGrowHorizontal(VersionLabel, LayoutContainer.GrowDirection.Begin);
LayoutContainer.SetGrowVertical(VersionLabel, LayoutContainer.GrowDirection.Begin);