1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 22:13:20 +08:00

Fix instant movement not doing anything

This commit is contained in:
smoogipoo 2018-05-14 17:47:38 +09:00
parent 4ceae6ba1f
commit 027f6c3fa4

View File

@ -314,7 +314,8 @@ namespace osu.Game.Overlays
private void next(bool instant = false)
{
queuedDirection = TransformDirection.Next;
if (!instant)
queuedDirection = TransformDirection.Next;
var playable = beatmapSets.SkipWhile(i => i.ID != current.BeatmapSetInfo.ID).Skip(1).FirstOrDefault() ?? beatmapSets.FirstOrDefault();
if (playable != null)