mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:32:55 +08:00
Rename loadRoom
to lookupRoom
This commit is contained in:
parent
bfeafd6f70
commit
74ed3bc4ff
@ -448,7 +448,7 @@ namespace osu.Game.Online.Multiplayer
|
|||||||
async Task IMultiplayerClient.Invited(int invitedBy, long roomID, string password)
|
async Task IMultiplayerClient.Invited(int invitedBy, long roomID, string password)
|
||||||
{
|
{
|
||||||
var loadUserTask = userLookupCache.GetUserAsync(invitedBy);
|
var loadUserTask = userLookupCache.GetUserAsync(invitedBy);
|
||||||
var loadRoomTask = loadRoom(roomID);
|
var loadRoomTask = lookupRoom(roomID);
|
||||||
|
|
||||||
await Task.WhenAll(loadUserTask, loadRoomTask).ConfigureAwait(false);
|
await Task.WhenAll(loadUserTask, loadRoomTask).ConfigureAwait(false);
|
||||||
|
|
||||||
@ -472,7 +472,7 @@ namespace osu.Game.Online.Multiplayer
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private Task<Room?> loadRoom(long id)
|
private Task<Room?> lookupRoom(long id)
|
||||||
{
|
{
|
||||||
return Task.Run(() =>
|
return Task.Run(() =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user