mirror of
https://github.com/ppy/osu
synced 2024-12-15 19:36:34 +00:00
Use cast in SocialOverlay
This commit is contained in:
parent
cc5833db80
commit
6ec01a67af
@ -120,7 +120,7 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
case SocialTab.Friends:
|
||||
var friendRequest = new GetFriendsRequest(); // TODO filter arguments?
|
||||
friendRequest.Success += users => Users = users.Select(u => (User)u).ToArray();
|
||||
friendRequest.Success += users => Users = users.Cast<User>().ToArray();
|
||||
API.Queue(getUsersRequest = friendRequest);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user