Browse Source

Skip touch interactions with stash when stash is not open

pull/4602/head
staphen 4 years ago committed by Anders Jenbo
parent
commit
0c4940fc00
  1. 2
      Source/controls/touch/event_handlers.cpp

2
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) {

Loading…
Cancel
Save