mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 14:17:06 +09:00
Moved the whole looping assignments inside PlaySongSelect
This commit is contained in:
@ -57,7 +57,9 @@ namespace osu.Game.Screens.Select
|
||||
{
|
||||
beatmap?.Mods.BindTo(modSelect.SelectedMods);
|
||||
|
||||
if (Beatmap != null) Beatmap.Track.Looping = false;
|
||||
beatmapDetails.Beatmap = beatmap;
|
||||
if(beatmap != null) beatmap.Track.Looping = true;
|
||||
|
||||
base.OnBeatmapChanged(beatmap);
|
||||
}
|
||||
@ -88,8 +90,7 @@ namespace osu.Game.Screens.Select
|
||||
if (base.OnExiting(next))
|
||||
return true;
|
||||
|
||||
if(Beatmap != null)
|
||||
Beatmap.Track.Looping = false;
|
||||
if(Beatmap != null) Beatmap.Track.Looping = false;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user