mirror of
https://github.com/ppy/osu.git
synced 2025-03-23 08:27:23 +08:00
Only flip value if popup was definitely shown
This commit is contained in:
parent
c40371c052
commit
97d065d887
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user