From 23be0f1be90ce5275c80fb717603ac4686285878 Mon Sep 17 00:00:00 2001 From: Dan Balasescu Date: Tue, 22 Mar 2022 14:17:20 +0900 Subject: [PATCH] Remove availability picker for now --- .../Match/MultiplayerMatchSettingsOverlay.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/osu.Game/Screens/OnlinePlay/Multiplayer/Match/MultiplayerMatchSettingsOverlay.cs b/osu.Game/Screens/OnlinePlay/Multiplayer/Match/MultiplayerMatchSettingsOverlay.cs index 2918e066c1..aef04c106d 100644 --- a/osu.Game/Screens/OnlinePlay/Multiplayer/Match/MultiplayerMatchSettingsOverlay.cs +++ b/osu.Game/Screens/OnlinePlay/Multiplayer/Match/MultiplayerMatchSettingsOverlay.cs @@ -58,7 +58,6 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match public Action SettingsApplied; public OsuTextBox NameField, MaxParticipantsField; - public RoomAvailabilityPicker AvailabilityPicker; public MatchTypePicker TypePicker; public OsuEnumDropdown QueueModeDropdown; public OsuTextBox PasswordTextBox; @@ -166,14 +165,6 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match LengthLimit = 100, }, }, - new Section("Room visibility") - { - Alpha = disabled_alpha, - Child = AvailabilityPicker = new RoomAvailabilityPicker - { - Enabled = { Value = false } - }, - }, new Section("Game type") { Child = new FillFlowContainer @@ -336,7 +327,6 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match TypePicker.Current.BindValueChanged(type => typeLabel.Text = type.NewValue.GetLocalisableDescription(), true); RoomName.BindValueChanged(name => NameField.Text = name.NewValue, true); - Availability.BindValueChanged(availability => AvailabilityPicker.Current.Value = availability.NewValue, true); Type.BindValueChanged(type => TypePicker.Current.Value = type.NewValue, true); MaxParticipants.BindValueChanged(count => MaxParticipantsField.Text = count.NewValue?.ToString(), true); RoomID.BindValueChanged(roomId => playlistContainer.Alpha = roomId.NewValue == null ? 1 : 0, true); @@ -402,7 +392,6 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match else { room.Name.Value = NameField.Text; - room.Availability.Value = AvailabilityPicker.Current.Value; room.Type.Value = TypePicker.Current.Value; room.Password.Value = PasswordTextBox.Current.Value; room.QueueMode.Value = QueueModeDropdown.Current.Value;