From e0e75c733960adaac76dbcc27a570f99bafb7098 Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Tue, 25 Dec 2018 11:24:46 +0900 Subject: [PATCH] Fix incorrect room status --- .../Multi/Lounge/Components/DrawableRoom.cs | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/osu.Game/Screens/Multi/Lounge/Components/DrawableRoom.cs b/osu.Game/Screens/Multi/Lounge/Components/DrawableRoom.cs index d6bc0018e4..d62b628389 100644 --- a/osu.Game/Screens/Multi/Lounge/Components/DrawableRoom.cs +++ b/osu.Game/Screens/Multi/Lounge/Components/DrawableRoom.cs @@ -211,14 +211,6 @@ namespace osu.Game.Screens.Multi.Lounge.Components }, }; - bindings.Status.ValueChanged += s => - { - status.Text = s.Message; - - foreach (Drawable d in new Drawable[] { selectionBox, sideStrip, status }) - d.FadeColour(s.GetAppropriateColour(colours), transition_duration); - }; - background.Beatmap.BindTo(bindings.CurrentBeatmap); modeTypeInfo.Beatmap.BindTo(bindings.CurrentBeatmap); beatmapTitle.Beatmap.BindTo(bindings.CurrentBeatmap); @@ -228,6 +220,13 @@ namespace osu.Game.Screens.Multi.Lounge.Components bindings.Name.BindValueChanged(n => name.Text = n, true); bindings.EndDate.BindValueChanged(d => endDate.Date = d, true); + bindings.Status.BindValueChanged(s => + { + status.Text = s.Message; + + foreach (Drawable d in new Drawable[] { selectionBox, sideStrip, status }) + d.FadeColour(s.GetAppropriateColour(colours), transition_duration); + }, true); } protected override void LoadComplete()