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

Fix CI inspections

This commit is contained in:
Dan Balasescu 2021-11-16 16:06:30 +09:00
parent 00f0321f25
commit c8038df509

View File

@ -617,7 +617,7 @@ namespace osu.Game.Online.Multiplayer
Debug.Assert(APIRoom != null);
APIRoom.Playlist.RemoveAll(existingItem => existingItem.ID == playlistItem.ID);
APIRoom.Playlist.RemoveAll(existing => existing.ID == playlistItem.ID);
APIRoom.Playlist.Add(playlistItem);
RoomUpdated?.Invoke();
});
@ -635,7 +635,7 @@ namespace osu.Game.Online.Multiplayer
Debug.Assert(APIRoom != null);
APIRoom.Playlist.RemoveAll(item => item.ID == playlistItemId);
APIRoom.Playlist.RemoveAll(existing => existing.ID == playlistItemId);
RoomUpdated?.Invoke();
});
@ -656,7 +656,7 @@ namespace osu.Game.Online.Multiplayer
Debug.Assert(APIRoom != null);
PlaylistItem existingItem = APIRoom.Playlist.Single(existingItem => existingItem.ID == item.ID);
PlaylistItem existingItem = APIRoom.Playlist.Single(existing => existing.ID == item.ID);
int existingIndex = APIRoom.Playlist.IndexOf(existingItem);
if (existingItem.Equals(playlistItem))
return;