mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:47:29 +08:00
Fix missed callbacks due to AddOnce() schedules
This commit is contained in:
parent
9760a2b087
commit
933fd49cff
@ -35,9 +35,9 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
||||
private void invokeUserJoined(MultiplayerRoomUser user) => Scheduler.AddOnce(UserJoined, user);
|
||||
private void invokeUserKicked(MultiplayerRoomUser user) => Scheduler.AddOnce(UserKicked, user);
|
||||
private void invokeUserLeft(MultiplayerRoomUser user) => Scheduler.AddOnce(UserLeft, user);
|
||||
private void invokeItemAdded(MultiplayerPlaylistItem item) => Scheduler.AddOnce(PlaylistItemAdded, item);
|
||||
private void invokeItemRemoved(long item) => Scheduler.AddOnce(PlaylistItemRemoved, item);
|
||||
private void invokeItemChanged(MultiplayerPlaylistItem item) => Scheduler.AddOnce(PlaylistItemChanged, item);
|
||||
private void invokeItemAdded(MultiplayerPlaylistItem item) => Schedule(() => PlaylistItemAdded(item));
|
||||
private void invokeItemRemoved(long item) => Schedule(() => PlaylistItemRemoved(item));
|
||||
private void invokeItemChanged(MultiplayerPlaylistItem item) => Schedule(() => PlaylistItemChanged(item));
|
||||
|
||||
/// <summary>
|
||||
/// Invoked when a user has joined the room.
|
||||
|
Loading…
Reference in New Issue
Block a user