diff --git a/modules/behaviour_nodes/decorator_nodes.cpp b/modules/behaviour_nodes/decorator_nodes.cpp index b46b41b1af..ea70400652 100644 --- a/modules/behaviour_nodes/decorator_nodes.cpp +++ b/modules/behaviour_nodes/decorator_nodes.cpp @@ -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: