Merge commit 'd51f4da2a9' into development

This commit is contained in:
Sara Gerretsen 2026-03-20 19:43:03 +01:00
commit 0e9576adbc

View file

@ -43,7 +43,7 @@ void BehaviourInvertResult::execute() {
if (get_child_behaviours().is_empty()) {
set_status(Fail);
ERR_FAIL_EDMSG("BehaviourInvertResult executed with no children");
} else if (get_status() == Running) {
} else {
Status child_status{ get_child_behaviours().get(0)->get_status() };
switch (child_status) {
case Fail: