mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Fix currenTrackCompleted not being run on main thread
This commit is contained in:
@ -406,11 +406,11 @@ namespace osu.Game
|
||||
nextBeatmap?.LoadBeatmapAsync();
|
||||
}
|
||||
|
||||
private void currentTrackCompleted()
|
||||
private void currentTrackCompleted() => Schedule(() =>
|
||||
{
|
||||
if (!Beatmap.Value.Track.Looping && !Beatmap.Disabled)
|
||||
musicController.NextTrack();
|
||||
}
|
||||
});
|
||||
|
||||
#endregion
|
||||
|
||||
|
Reference in New Issue
Block a user