mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:57:36 +08:00
Avoid blocking global actions when skip overlay is not actually active
This commit is contained in:
parent
72b8eef36e
commit
1d82557d9f
@ -133,6 +133,9 @@ namespace osu.Game.Screens.Play
|
||||
switch (action)
|
||||
{
|
||||
case GlobalAction.SkipCutscene:
|
||||
if (!button.Enabled.Value)
|
||||
return false;
|
||||
|
||||
button.Click();
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user