mirror of
https://github.com/ppy/osu.git
synced 2026-05-30 01:10:58 +08:00
Fix epilepsy warning not being faded out on an early exit from PlayerLoader
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user