summaryrefslogtreecommitdiffstats
path: root/src/logic/executor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic/executor.cpp')
-rw-r--r--src/logic/executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/executor.cpp b/src/logic/executor.cpp
index ab4ac154d..6134e801e 100644
--- a/src/logic/executor.cpp
+++ b/src/logic/executor.cpp
@@ -96,7 +96,7 @@ void Executor::processLogicFrameUpdates(float dt)
const QVector<QNode *> nodes = m_scene->lookupNodes(m_nodeIds);
for (QNode *node : nodes) {
QFrameAction *frameAction = qobject_cast<QFrameAction *>(node);
- if (frameAction)
+ if (frameAction && frameAction->isEnabled())
frameAction->onTriggered(dt);
}