1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 17:02:55 +08:00

remove (now) unnecessary line

This commit is contained in:
FreezyLemon 2018-03-12 23:00:06 +01:00
parent ddc1f03a96
commit 95c84ea7fe

View File

@ -99,7 +99,6 @@ namespace osu.Game.Screens.Select
if (removeAutoModOnResume)
{
var autoType = Ruleset.Value.CreateInstance().GetAutoplayMod().GetType();
SelectedMods.Value = SelectedMods.Value.Where(m => m.GetType() != autoType).ToArray();
modSelect.DeselectTypes(new[] { autoType }, true);
removeAutoModOnResume = false;
}