mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 17:37:23 +09: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();
|
var autoType = Ruleset.Value.CreateInstance().GetAutoplayMod().GetType();
|
||||||
SelectedMods.Value = SelectedMods.Value.Where(m => m.GetType() != autoType).ToArray();
|
SelectedMods.Value = SelectedMods.Value.Where(m => m.GetType() != autoType).ToArray();
|
||||||
|
modSelect.DeselectTypes(new[] { autoType }, true);
|
||||||
removeAutoModOnResume = false;
|
removeAutoModOnResume = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user