mirror of
https://github.com/ppy/osu
synced 2024-12-14 10:57:41 +00:00
Merge branch 'master' into excess-skin-change
This commit is contained in:
commit
d2c2e41e0c
@ -28,7 +28,7 @@ namespace osu.Game.Audio
|
||||
private void load()
|
||||
{
|
||||
track = GetTrack();
|
||||
track.Completed += Stop;
|
||||
track.Completed += () => Schedule(Stop);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -351,11 +351,11 @@ namespace osu.Game.Overlays
|
||||
queuedDirection = null;
|
||||
}
|
||||
|
||||
private void currentTrackCompleted()
|
||||
private void currentTrackCompleted() => Schedule(() =>
|
||||
{
|
||||
if (!beatmap.Disabled && beatmapSets.Any())
|
||||
if (!current.Track.Looping && !beatmap.Disabled && beatmapSets.Any())
|
||||
next();
|
||||
}
|
||||
});
|
||||
|
||||
private ScheduledDelegate pendingBeatmapSwitch;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user