mirror of
https://github.com/ppy/osu.git
synced 2026-06-01 06:19:54 +08:00
Only flip value if popup was definitely shown
This commit is contained in:
@@ -303,8 +303,11 @@ namespace osu.Game.Screens.Menu
|
||||
|
||||
if (showMobileDisclaimer.Value)
|
||||
{
|
||||
this.Delay(500).Schedule(() => dialogOverlay.Push(new MobileDisclaimerDialog()));
|
||||
showMobileDisclaimer.Value = false;
|
||||
this.Delay(500).Schedule(() =>
|
||||
{
|
||||
dialogOverlay.Push(new MobileDisclaimerDialog());
|
||||
showMobileDisclaimer.Value = false;
|
||||
});
|
||||
}
|
||||
|
||||
return originalAction.Invoke();
|
||||
|
||||
Reference in New Issue
Block a user