mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Fix first action of paused macros being executed
This commit is contained in:
parent
b23a90557f
commit
a1efd232be
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user