1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 20:07:29 +08:00

Move line inside if

This commit is contained in:
Dean Herbert 2017-08-04 17:20:05 +09:00
parent 0f8d46a990
commit e8021c2b92

View File

@ -78,8 +78,8 @@ namespace osu.Game.Screens.Select
{ {
var autoType = Ruleset.Value.CreateInstance().GetAutoplayMod().GetType(); var autoType = Ruleset.Value.CreateInstance().GetAutoplayMod().GetType();
modSelect.SelectedMods.Value = modSelect.SelectedMods.Value.Where(m => m.GetType() != autoType).ToArray(); modSelect.SelectedMods.Value = modSelect.SelectedMods.Value.Where(m => m.GetType() != autoType).ToArray();
removeAutoModOnResume = false;
} }
removeAutoModOnResume = false;
Beatmap.Value.Track.Looping = true; Beatmap.Value.Track.Looping = true;