summaryrefslogtreecommitdiff
path: root/src/inputmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inputmanager.cpp')
-rw-r--r--src/inputmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inputmanager.cpp b/src/inputmanager.cpp
index 03aba6ecf..c04185f50 100644
--- a/src/inputmanager.cpp
+++ b/src/inputmanager.cpp
@@ -659,6 +659,8 @@ void InputManager::updateConditionMask()
{
mMask |= COND_NOTARGET;
}
+ if (Game::instance())
+ mMask |= COND_INGAME;
if (!player_node || player_node->getFollow().empty())
mMask |= COND_NOFOLLOW;