Skip to content

Commit

Permalink
Merge pull request #162 from ydeltastar/fix-btplayer-error
Browse files Browse the repository at this point in the history
Fix error when opening scene with a `BTPlayer`
  • Loading branch information
limbonaut authored Jul 18, 2024
2 parents 18ee215 + 7073db7 commit 3565d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bt/bt_player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,10 @@ void BTPlayer::_notification(int p_notification) {
if (behavior_tree.is_valid()) {
_load_tree();
}
set_active(active);
} else {
_update_blackboard_plan();
}
set_active(active);
} break;
case NOTIFICATION_ENTER_TREE: {
#ifdef DEBUG_ENABLED
Expand Down

0 comments on commit 3565d6d

Please sign in to comment.