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:
parent
3e313a1f44
commit
ddc1f03a96
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user