mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:03:02 +08:00
Directly return task
This commit is contained in:
parent
724e4b83fe
commit
ba4307a74c
@ -106,14 +106,14 @@ namespace osu.Game.Tests.Visual.RealtimeMultiplayer
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
public override async Task StartMatch()
|
||||
public override Task StartMatch()
|
||||
{
|
||||
Debug.Assert(Room != null);
|
||||
|
||||
foreach (var user in Room.Users.Where(u => u.State == MultiplayerUserState.Ready))
|
||||
ChangeUserState(user.UserID, MultiplayerUserState.WaitingForLoad);
|
||||
|
||||
await ((IMultiplayerClient)this).LoadRequested();
|
||||
return ((IMultiplayerClient)this).LoadRequested();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user