1
0
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:
Dean Herbert 2025-01-04 00:58:19 +09:00
parent c40371c052
commit 97d065d887
No known key found for this signature in database

View File

@ -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();