Abort macro early if it was paused

This commit is contained in:
WarmUpTill 2022-01-05 03:39:37 +01:00
parent c498d1509a
commit 2c1b97e5cd

View File

@ -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;