mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-30 05:06:14 -05:00
Abort macro early if it was paused
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user