1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 19:12:57 +08:00

Fix RoomUpdated() not invoked on item changes

This commit is contained in:
Dan Balasescu 2021-11-10 21:23:18 +09:00
parent 78793d8624
commit 1bc6a58528

View File

@ -656,6 +656,8 @@ namespace osu.Game.Online.Multiplayer
// If the currently-selected item was the one that got replaced, update the selected item to the new one. // If the currently-selected item was the one that got replaced, update the selected item to the new one.
if (CurrentMatchPlayingItem.Value == oldItem) if (CurrentMatchPlayingItem.Value == oldItem)
CurrentMatchPlayingItem.Value = APIRoom.Playlist[index]; CurrentMatchPlayingItem.Value = APIRoom.Playlist[index];
RoomUpdated?.Invoke();
}).ConfigureAwait(false); }).ConfigureAwait(false);
} }