From 0c4940fc0041b180d85476ae83cc3a64b4bf3454 Mon Sep 17 00:00:00 2001 From: staphen Date: Sat, 21 May 2022 19:56:45 -0400 Subject: [PATCH] Skip touch interactions with stash when stash is not open --- Source/controls/touch/event_handlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/controls/touch/event_handlers.cpp b/Source/controls/touch/event_handlers.cpp index 6765e9dc2..7244f1bb6 100644 --- a/Source/controls/touch/event_handlers.cpp +++ b/Source/controls/touch/event_handlers.cpp @@ -118,7 +118,7 @@ void HandleCharacterPanelInteraction(const SDL_Event &event) void HandleStashPanelInteraction(const SDL_Event &event) { - if (!MyPlayer->HoldItem.isEmpty()) + if (!IsStashOpen || !MyPlayer->HoldItem.isEmpty()) return; if (event.type != SDL_FINGERUP) {