mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Get rid of raw AddDelay calls within osu.Game
This commit is contained in:
@ -35,8 +35,7 @@ namespace osu.Game.Overlays
|
||||
if (v != Visibility.Hidden) return;
|
||||
|
||||
//handle the dialog being dismissed.
|
||||
dialog.AddDelay(PopupDialog.EXIT_DURATION);
|
||||
dialog.Expire();
|
||||
dialog.Delay(PopupDialog.EXIT_DURATION).Expire();
|
||||
|
||||
if (dialog == currentDialog)
|
||||
State = Visibility.Hidden;
|
||||
|
Reference in New Issue
Block a user