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 = () => Activated = () =>
{ {
updateManager.PrepareUpdateAsync() updateManager.PrepareUpdateAsync()
.ContinueWith(_ => Schedule(() => game.GracefullyExit())); .ContinueWith(_ => updateManager.Schedule(() => game.GracefullyExit()));
return true; return true;
} }
}; };