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

deselect autoplay button after ctrl-enter play

before, the mod was removed, but the button was still active
This commit is contained in:
FreezyLemon 2018-03-12 22:35:45 +01:00
parent 3e313a1f44
commit ddc1f03a96

View File

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