mirror of
https://github.com/ppy/osu
synced 2024-12-15 11:25:29 +00:00
Fix CI warnings
This commit is contained in:
parent
34653eb8c0
commit
6d7f70d0ea
@ -57,9 +57,19 @@ namespace osu.Game.Screens.Select
|
||||
{
|
||||
beatmap?.Mods.BindTo(modSelect.SelectedMods);
|
||||
|
||||
if (Beatmap != null && Beatmap.Track != null) Beatmap.Track.Looping = false;
|
||||
if (Beatmap != null)
|
||||
{
|
||||
if (Beatmap.Track != null)
|
||||
Beatmap.Track.Looping = false;
|
||||
}
|
||||
|
||||
beatmapDetails.Beatmap = beatmap;
|
||||
if(beatmap != null && beatmap.Track != null) beatmap.Track.Looping = true;
|
||||
|
||||
if (beatmap != null)
|
||||
{
|
||||
if (beatmap.Track != null)
|
||||
beatmap.Track.Looping = false;
|
||||
}
|
||||
|
||||
base.OnBeatmapChanged(beatmap);
|
||||
}
|
||||
@ -90,7 +100,10 @@ namespace osu.Game.Screens.Select
|
||||
if (base.OnExiting(next))
|
||||
return true;
|
||||
|
||||
if(Beatmap != null && Beatmap.Track != null) Beatmap.Track.Looping = false;
|
||||
if (Beatmap != null) {
|
||||
if(Beatmap.Track != null)
|
||||
Beatmap.Track.Looping = false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user