mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-12 04:11:06 -05:00
Fix temp var values of actions not being accessible
This a bug introduced with ec3052c823.
This commit is contained in:
@@ -433,6 +433,9 @@ bool Macro::RunActionsHelper(
|
||||
actionCopy = action->Copy();
|
||||
});
|
||||
bool actionResult = actionCopy->PerformAction();
|
||||
action->WithLock([&action, &actionCopy]() {
|
||||
action->CopyTempVarValuesFrom(*actionCopy);
|
||||
});
|
||||
actionsExecutedSuccessfully =
|
||||
actionsExecutedSuccessfully && actionResult;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user