From 05913883845df5c4146a9c6c1437ffbf48560c80 Mon Sep 17 00:00:00 2001 From: StackZ <47382115+SuperSaiyajinStackZ@users.noreply.github.com> Date: Sat, 28 Nov 2020 13:46:15 +0100 Subject: [PATCH] Ehh.. second oops(?). --- gui.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gui.cpp b/gui.cpp index 17f4cd2..62ced42 100644 --- a/gui.cpp +++ b/gui.cpp @@ -314,14 +314,11 @@ void Gui::ScreenLogic(u32 hDown, u32 hHeld, touchPosition touch, bool waitFade, } else { if (!screens.empty()) screens.top()->Logic(hDown, hHeld, touch); } - - } else { - if (!screens.empty()) screens.top()->Logic(hDown, hHeld, touch); } } else { if (!stack) { - if (usedScreen) usedScreen->Logic(hDown, hHeld, touch); + if (usedScreen) usedScreen->Logic(hDown, hHeld, touch); } else { if (!screens.empty()) screens.top()->Logic(hDown, hHeld, touch);