mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-22 01:44:49 -05:00
Abort macro early if it was paused
This commit is contained in:
parent
c498d1509a
commit
2c1b97e5cd
|
|
@ -147,7 +147,7 @@ void Macro::RunActions(bool &retVal)
|
|||
for (auto &a : _actions) {
|
||||
a->LogAction();
|
||||
ret = ret && a->PerformAction();
|
||||
if (!ret || _stop) {
|
||||
if (!ret || _stop || _paused) {
|
||||
retVal = ret;
|
||||
_done = true;
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user