From 690ba81ab391edbb7e4f7aa509e812ed2bc855cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 6 Jun 2025 00:20:11 +0200 Subject: [PATCH] Crashfix in InstallZipScreen --- UI/InstallZipScreen.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UI/InstallZipScreen.cpp b/UI/InstallZipScreen.cpp index 05ae5112ad..e648d46298 100644 --- a/UI/InstallZipScreen.cpp +++ b/UI/InstallZipScreen.cpp @@ -218,7 +218,9 @@ UI::EventReturn InstallZipScreen::OnInstall(UI::EventParams ¶ms) { } 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); }