1
0
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:
Dean Herbert 2020-11-24 15:42:14 +09:00
parent 72b8eef36e
commit 1d82557d9f

View File

@ -133,6 +133,9 @@ namespace osu.Game.Screens.Play
switch (action)
{
case GlobalAction.SkipCutscene:
if (!button.Enabled.Value)
return false;
button.Click();
return true;
}