From 773ef26ce339c5f63cac5873066afdd3ad025fda Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 11 Jul 2017 18:38:49 +0900 Subject: [PATCH] Make MusicController support disabled beatmap bindable --- osu.Game/Overlays/MusicController.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/osu.Game/Overlays/MusicController.cs b/osu.Game/Overlays/MusicController.cs index 092082595c..baf58ae26c 100644 --- a/osu.Game/Overlays/MusicController.cs +++ b/osu.Game/Overlays/MusicController.cs @@ -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(); }