1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 13:47:24 +08:00

Remove unnecessary runOutsideOfGameplay call

This commit is contained in:
Dean Herbert 2024-10-07 17:04:52 +09:00
parent a41c6dce04
commit 1f45b2134f
No known key found for this signature in database

View File

@ -62,8 +62,6 @@ namespace osu.Desktop.Updater
// TODO: we should probably be checking if there's a more recent update, rather than shortcutting here.
// Velopack does support this scenario (see https://github.com/ppy/osu/pull/28743#discussion_r1743495975).
if (pendingUpdate != null)
{
runOutsideOfGameplay(() =>
{
// If there is an update pending restart, show the notification to restart again.
notificationOverlay.Post(new UpdateApplicationCompleteNotification
@ -74,7 +72,6 @@ namespace osu.Desktop.Updater
return true;
}
});
});
return true;
}