1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-17 20:35:39 +08:00

Remove the null check.

This commit is contained in:
andy840119
2022-08-02 23:13:50 +08:00
Unverified
parent c8c2758d63
commit 8d175bc402
+1 -1
View File
@@ -152,7 +152,7 @@ namespace osu.Desktop.Updater
Activated = () =>
{
updateManager.PrepareUpdateAsync()
.ContinueWith(_ => updateManager.Schedule(() => game?.AttemptExit()));
.ContinueWith(_ => updateManager.Schedule(() => game.AttemptExit()));
return true;
};
}