added new action SetDisplayText

This commit is contained in:
Stephan Richter
2020-11-20 01:16:05 +01:00
parent e7a6349c7c
commit 9e3556c05c
7 changed files with 116 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ public class ConditionalAction extends Action {
for (Condition condition : conditions) {
if (!condition.fulfilledBy(context)) return true;
}
return actions.fire(context);
return actions.fire(context.clone()); // actions, that happen within the conditional action list must not modify the global context.
}
@Override