Revert unintended change

This commit is contained in:
Dan Balasescu 2022-06-18 08:49:48 +09:00
parent 869db52540
commit 14cdb01fd8

View File

@ -202,16 +202,14 @@ namespace osu.Game.Online.Multiplayer
return connection.InvokeAsync(nameof(IMultiplayerServer.AddPlaylistItem), item); return connection.InvokeAsync(nameof(IMultiplayerServer.AddPlaylistItem), item);
} }
public override async Task EditPlaylistItem(MultiplayerPlaylistItem item) public override Task EditPlaylistItem(MultiplayerPlaylistItem item)
{ {
if (!IsConnected.Value) if (!IsConnected.Value)
return; return Task.CompletedTask;
Debug.Assert(connection != null); Debug.Assert(connection != null);
await Task.Delay(10000); return connection.InvokeAsync(nameof(IMultiplayerServer.EditPlaylistItem), item);
await connection.InvokeAsync(nameof(IMultiplayerServer.EditPlaylistItem), item);
} }
public override Task RemovePlaylistItem(long playlistItemId) public override Task RemovePlaylistItem(long playlistItemId)