Browse Source

Skip touch interactions with main panel when not in a game session

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

2
Source/controls/touch/event_handlers.cpp

@ -89,7 +89,7 @@ bool HandleSpeedBookInteraction(const SDL_Event &event)
void HandleBottomPanelInteraction(const SDL_Event &event)
{
if (!MyPlayer->HoldItem.isEmpty())
if (!gbRunGame || !MyPlayer->HoldItem.isEmpty())
return;
ClearPanBtn();

Loading…
Cancel
Save