mirror of https://github.com/ppy/osu
Fix playlist-related errors
This commit is contained in:
parent
91f6b08479
commit
8e6a85058b
|
@ -244,6 +244,9 @@ protected override void LoadComplete()
|
||||||
|
|
||||||
private void updatePlaylist()
|
private void updatePlaylist()
|
||||||
{
|
{
|
||||||
|
if (playlistBind.Count == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
// For now, only the first playlist item is supported
|
// For now, only the first playlist item is supported
|
||||||
var item = playlistBind.First();
|
var item = playlistBind.First();
|
||||||
|
|
||||||
|
|
|
@ -240,6 +240,9 @@ private void updateRoom(Room newRoom)
|
||||||
|
|
||||||
private void updatePlaylist()
|
private void updatePlaylist()
|
||||||
{
|
{
|
||||||
|
if (playlistBind.Count == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
// For now, only the first playlist item is supported
|
// For now, only the first playlist item is supported
|
||||||
var item = playlistBind.First();
|
var item = playlistBind.First();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue