1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

Rename loadRoom to lookupRoom

This commit is contained in:
Marvin Schürz 2023-10-04 08:31:50 +02:00
parent bfeafd6f70
commit 74ed3bc4ff

View File

@ -448,7 +448,7 @@ namespace osu.Game.Online.Multiplayer
async Task IMultiplayerClient.Invited(int invitedBy, long roomID, string password)
{
var loadUserTask = userLookupCache.GetUserAsync(invitedBy);
var loadRoomTask = loadRoom(roomID);
var loadRoomTask = lookupRoom(roomID);
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(() =>
{