Merge commit 'd51f4da2a9' into development
This commit is contained in:
commit
0e9576adbc
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue