1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-22 22:17:46 +08:00

Fix update notification not correctly restarting the game

This commit is contained in:
Dean Herbert 2019-07-03 23:06:16 +09:00
parent 127b0b33c2
commit b901aab19d

View File

@ -129,7 +129,7 @@ namespace osu.Desktop.Updater
Activated = () =>
{
updateManager.PrepareUpdateAsync()
.ContinueWith(_ => Schedule(() => game.GracefullyExit()));
.ContinueWith(_ => updateManager.Schedule(() => game.GracefullyExit()));
return true;
}
};