Crashfix in InstallZipScreen

This commit is contained in:
Henrik Rydgård
2025-06-06 00:20:11 +02:00
parent d389953eda
commit 690ba81ab3
+3 -1
View File
@@ -218,7 +218,9 @@ UI::EventReturn InstallZipScreen::OnInstall(UI::EventParams &params) {
}
if (g_GameManager.InstallZipOnThread(task)) {
installStarted_ = true;
playChoice_->SetEnabled(false); // need to exit this screen to played the installed one. We could make this smarter.
if (playChoice_) {
playChoice_->SetEnabled(false); // need to exit this screen to played the installed one. We could make this smarter.
}
if (installChoice_) {
installChoice_->SetEnabled(false);
}