mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 06:35:05 +08:00
Fix RoomUpdated() not invoked on item changes
This commit is contained in:
parent
78793d8624
commit
1bc6a58528
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user