Fix first action of paused macros being executed

This commit is contained in:
WarmUpTill 2026-02-24 19:47:20 +01:00
parent b23a90557f
commit a1efd232be

View File

@ -380,6 +380,10 @@ bool Macro::RunActionsHelper(
const std::deque<std::shared_ptr<MacroAction>> &actionsToRun,
bool ignorePause)
{
if (_paused && !ignorePause) {
return true;
}
// Create copy of action list as elements might be removed, inserted, or
// reordered while actions are currently being executed.
auto actions = actionsToRun;