diff --git a/osu.Game/Screens/Multi/Components/BeatmapTypeInfo.cs b/osu.Game/Screens/Multi/Components/BeatmapTypeInfo.cs index 35d1ffad1c..3904df2069 100644 --- a/osu.Game/Screens/Multi/Components/BeatmapTypeInfo.cs +++ b/osu.Game/Screens/Multi/Components/BeatmapTypeInfo.cs @@ -60,7 +60,7 @@ namespace osu.Game.Screens.Multi.Components beatmapAuthor.AddText("mapped by ", s => s.Colour = OsuColour.Gray(0.8f)); beatmapAuthor.AddLink(v.Metadata.Author.Username, null, LinkAction.OpenUserProfile, v.Metadata.Author.Id.ToString(), "View Profile"); } - }); + }, true); } } } diff --git a/osu.Game/Screens/Multi/Components/ModeTypeInfo.cs b/osu.Game/Screens/Multi/Components/ModeTypeInfo.cs index 6ae3b7be7c..97ea1b5f36 100644 --- a/osu.Game/Screens/Multi/Components/ModeTypeInfo.cs +++ b/osu.Game/Screens/Multi/Components/ModeTypeInfo.cs @@ -46,8 +46,8 @@ namespace osu.Game.Screens.Multi.Components }; CurrentBeatmap.BindValueChanged(_ => updateBeatmap()); - CurrentRuleset.BindValueChanged(_ => updateBeatmap()); - Type.BindValueChanged(v => gameTypeContainer.Child = new DrawableGameType(v) { Size = new Vector2(height) }); + CurrentRuleset.BindValueChanged(_ => updateBeatmap(), true); + Type.BindValueChanged(v => gameTypeContainer.Child = new DrawableGameType(v) { Size = new Vector2(height) }, true); } private void updateBeatmap() diff --git a/osu.Game/Screens/Multi/Components/ParticipantCount.cs b/osu.Game/Screens/Multi/Components/ParticipantCount.cs index 9711767924..3b002ee034 100644 --- a/osu.Game/Screens/Multi/Components/ParticipantCount.cs +++ b/osu.Game/Screens/Multi/Components/ParticipantCount.cs @@ -52,9 +52,8 @@ namespace osu.Game.Screens.Multi.Components } }; - Participants.BindValueChanged(v => count.Text = v.Count().ToString()); MaxParticipants.BindValueChanged(_ => updateMax(), true); - ParticipantCount.BindValueChanged(v => count.Text = v.ToString("#,0")); + ParticipantCount.BindValueChanged(v => count.Text = v.ToString("#,0"), true); } private void updateMax() diff --git a/osu.Game/Screens/Multi/Lounge/Components/RoomInspector.cs b/osu.Game/Screens/Multi/Lounge/Components/RoomInspector.cs index 45855c2812..754d8b8d24 100644 --- a/osu.Game/Screens/Multi/Lounge/Components/RoomInspector.cs +++ b/osu.Game/Screens/Multi/Lounge/Components/RoomInspector.cs @@ -163,10 +163,9 @@ namespace osu.Game.Screens.Multi.Lounge.Components } }; - Status.BindValueChanged(displayStatus); - Name.BindValueChanged(n => name.Text = n); - - RoomID.BindValueChanged(updateRoom); + Status.BindValueChanged(displayStatus, true); + Name.BindValueChanged(n => name.Text = n, true); + RoomID.BindValueChanged(updateRoom, true); } private void updateRoom(int? roomId) diff --git a/osu.Game/Screens/Multi/Match/Components/MatchSettingsOverlay.cs b/osu.Game/Screens/Multi/Match/Components/MatchSettingsOverlay.cs index dcbeb07904..75cabe8b35 100644 --- a/osu.Game/Screens/Multi/Match/Components/MatchSettingsOverlay.cs +++ b/osu.Game/Screens/Multi/Match/Components/MatchSettingsOverlay.cs @@ -260,8 +260,7 @@ namespace osu.Game.Screens.Multi.Match.Components processingOverlay = new ProcessingOverlay { Alpha = 0 } }; - TypePicker.Current.ValueChanged += t => typeLabel.Text = t.Name; - + TypePicker.Current.BindValueChanged(t => typeLabel.Text = t?.Name ?? string.Empty, true); Name.BindValueChanged(n => NameField.Text = n, true); Availability.BindValueChanged(a => AvailabilityPicker.Current.Value = a, true); Type.BindValueChanged(t => TypePicker.Current.Value = t, true); diff --git a/osu.Game/Screens/Multi/Match/Components/Participants.cs b/osu.Game/Screens/Multi/Match/Components/Participants.cs index 82a79475ff..1565d75c21 100644 --- a/osu.Game/Screens/Multi/Match/Components/Participants.cs +++ b/osu.Game/Screens/Multi/Match/Components/Participants.cs @@ -59,7 +59,7 @@ namespace osu.Game.Screens.Multi.Match.Components Width = 300, OnLoadComplete = d => d.FadeInFromZero(60), }).ToList(); - }); + }, true); } } }