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
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ protected override Notification CreateCompletionNotification()
Activated = () =>
{
updateManager.PrepareUpdateAsync()
.ContinueWith(_ => Schedule(() => game.GracefullyExit()));
.ContinueWith(_ => updateManager.Schedule(() => game.GracefullyExit()));
return true;
}
};