From c550926df8e5d648f9a7eb5633c2d955f20c7186 Mon Sep 17 00:00:00 2001 From: Paliak <91493239+Paliak@users.noreply.github.com> Date: Sat, 28 Feb 2026 14:12:46 +0100 Subject: [PATCH 1/2] FIX: redirect user to build list menu on initial build load crash Currently if a build crashes on initial load the user will be stuck in the OnError screen. This is especially problematic if the build is set to default load on startup essentially locking the user out of POB. This PR redirect the user to the build list menu if a build crashes on initial load allowing the user to dismiss the error and load a different build. --- src/Launch.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Launch.lua b/src/Launch.lua index 2e383f8c96..1d0e6b2a1f 100644 --- a/src/Launch.lua +++ b/src/Launch.lua @@ -110,6 +110,10 @@ function launch:OnFrame() if self.main.OnFrame then local errMsg = PCall(self.main.OnFrame, self.main) if errMsg then + -- Send user to build list menu if a build crashes on initial load + if self.main.modes.BUILD.outputRevision == 1 and self.main.modes.BUILD.buildFlag then + main:SetMode("LIST") + end self:ShowErrMsg("In 'OnFrame': %s", errMsg) end end From 175ac199abc1cc4487479ff534c13850b9df5e15 Mon Sep 17 00:00:00 2001 From: Paliak <91493239+Paliak@users.noreply.github.com> Date: Sun, 1 Mar 2026 10:21:30 +0100 Subject: [PATCH 2/2] FIX: disable the the feature when in dev mode for easier debugging --- src/Launch.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Launch.lua b/src/Launch.lua index 1d0e6b2a1f..e018879cad 100644 --- a/src/Launch.lua +++ b/src/Launch.lua @@ -111,7 +111,7 @@ function launch:OnFrame() local errMsg = PCall(self.main.OnFrame, self.main) if errMsg then -- Send user to build list menu if a build crashes on initial load - if self.main.modes.BUILD.outputRevision == 1 and self.main.modes.BUILD.buildFlag then + if self.main.modes.BUILD.outputRevision == 1 and self.main.modes.BUILD.buildFlag and not self.devMode then main:SetMode("LIST") end self:ShowErrMsg("In 'OnFrame': %s", errMsg)