Make MusicController support disabled beatmap bindable

This commit is contained in:
Dean Herbert 2017-07-11 18:38:49 +09:00
parent 1bd3519ecb
commit 773ef26ce3

View File

@ -255,12 +255,16 @@ namespace osu.Game.Overlays
private void prev()
{
if (beatmapBacking.Disabled) return;
queuedDirection = TransformDirection.Prev;
playlist.PlayPrevious();
}
private void next()
{
if (beatmapBacking.Disabled) return;
queuedDirection = TransformDirection.Next;
playlist.PlayNext();
}