1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 22:27:25 +08:00

Fix playlist-related errors

This commit is contained in:
smoogipoo 2018-12-14 12:35:05 +09:00
parent 91f6b08479
commit 8e6a85058b
2 changed files with 6 additions and 0 deletions

View File

@ -244,6 +244,9 @@ namespace osu.Game.Screens.Multi.Lounge.Components
private void updatePlaylist()
{
if (playlistBind.Count == 0)
return;
// For now, only the first playlist item is supported
var item = playlistBind.First();

View File

@ -240,6 +240,9 @@ namespace osu.Game.Screens.Multi.Lounge.Components
private void updatePlaylist()
{
if (playlistBind.Count == 0)
return;
// For now, only the first playlist item is supported
var item = playlistBind.First();