mirror of
https://github.com/ppy/osu
synced 2025-01-13 17:41:09 +00:00
Remove the null check.
This commit is contained in:
parent
c8c2758d63
commit
8d175bc402
@ -152,7 +152,7 @@ namespace osu.Desktop.Updater
|
||||
Activated = () =>
|
||||
{
|
||||
updateManager.PrepareUpdateAsync()
|
||||
.ContinueWith(_ => updateManager.Schedule(() => game?.AttemptExit()));
|
||||
.ContinueWith(_ => updateManager.Schedule(() => game.AttemptExit()));
|
||||
return true;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user