mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09: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