monor fixes

This commit is contained in:
Stephan Richter
2020-12-03 16:12:16 +01:00
parent 4180d72d43
commit 827c89a550
4 changed files with 5 additions and 3 deletions

View File

@@ -41,6 +41,7 @@ public class ActionList extends Action implements Iterable<Action>{
}
public ActionList add(Action action) {
action.parent(this);
actions.add(action);
return this;
}

View File

@@ -72,6 +72,7 @@ public class ConditionalAction extends ActionList {
@Override
public void removeChild(BaseClass child) {
conditions.remove(child);
actions.remove(child);
}
@Override