Fix else-actions being executed for paused macros

This commit is contained in:
WarmUpTill 2024-01-19 19:55:24 +01:00 committed by WarmUpTill
parent b199b8bcff
commit 8b9f3064ba

View File

@ -231,7 +231,7 @@ bool Macro::ExecutedSince(
bool Macro::ShouldRunActions() const
{
const bool hasActionsToExecute =
(_matched || _elseActions.size() > 0) &&
!_paused && (_matched || _elseActions.size() > 0) &&
(!_performActionsOnChange || _conditionSateChanged);
if (VerboseLoggingEnabled() && _performActionsOnChange &&