mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 03:07:19 +08:00
Fix update notification not correctly restarting the game (#5229)
Fix update notification not correctly restarting the game
This commit is contained in:
commit
a417bcb0ed
@ -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;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user