mirror of https://github.com/ppy/osu
Fix update notification not correctly restarting the game
This commit is contained in:
parent
127b0b33c2
commit
b901aab19d
|
@ -129,7 +129,7 @@ protected override Notification CreateCompletionNotification()
|
|||
Activated = () =>
|
||||
{
|
||||
updateManager.PrepareUpdateAsync()
|
||||
.ContinueWith(_ => Schedule(() => game.GracefullyExit()));
|
||||
.ContinueWith(_ => updateManager.Schedule(() => game.GracefullyExit()));
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue