mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:47:29 +08:00
Fix epilepsy warning not being faded out on an early exit from PlayerLoader
This commit is contained in:
parent
0d992a0493
commit
59dc04017e
@ -246,6 +246,9 @@ namespace osu.Game.Screens.Play
|
||||
cancelLoad();
|
||||
contentOut();
|
||||
|
||||
// If the load sequence was interrupted, the epilepsy warning may already be displayed (or in the process of being displayed).
|
||||
epilepsyWarning?.Hide();
|
||||
|
||||
// Ensure the screen doesn't expire until all the outwards fade operations have completed.
|
||||
this.Delay(content_out_duration).FadeOut();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user