mirror of
https://github.com/ppy/osu.git
synced 2025-03-10 22:17:20 +08:00
Fix reference hashsets getting emptied before used
This commit is contained in:
parent
9db8e0b7ac
commit
facc9a4dc3
@ -156,7 +156,7 @@ namespace osu.Game.Online
|
||||
return;
|
||||
}
|
||||
|
||||
notifications.Post(new FriendOnlineNotification(onlineAlertQueue));
|
||||
notifications.Post(new FriendOnlineNotification(onlineAlertQueue.ToArray()));
|
||||
|
||||
onlineAlertQueue.Clear();
|
||||
lastOnlineAlertTime = null;
|
||||
@ -176,7 +176,7 @@ namespace osu.Game.Online
|
||||
return;
|
||||
}
|
||||
|
||||
notifications.Post(new FriendOfflineNotification(offlineAlertQueue));
|
||||
notifications.Post(new FriendOfflineNotification(offlineAlertQueue.ToArray()));
|
||||
|
||||
offlineAlertQueue.Clear();
|
||||
lastOfflineAlertTime = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user