diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-01 13:25:23 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-01 13:25:23 +0100 |
commit | 0a9e6e478e3183d7bf3c5cb895c706bc6275d3ea (patch) | |
tree | f0aafb3a890737c99179bda69830ecae24774770 /scene/3d | |
parent | c461d3880fe6e0561dafd79054185e25d36a0e34 (diff) | |
parent | 435bf4e030f420c887898cd63d225e1c87447e25 (diff) |
Merge pull request #71800 from akien-mga/ci-codespell-action
CI: Add official codespell action with PR annotations
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/navigation_agent_3d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/navigation_agent_3d.cpp b/scene/3d/navigation_agent_3d.cpp index 5db8611d72..1ffabbb6da 100644 --- a/scene/3d/navigation_agent_3d.cpp +++ b/scene/3d/navigation_agent_3d.cpp @@ -143,7 +143,7 @@ void NavigationAgent3D::_notification(int p_what) { switch (p_what) { case NOTIFICATION_POST_ENTER_TREE: { // need to use POST_ENTER_TREE cause with normal ENTER_TREE not all required Nodes are ready. - // cannot use READY as ready does not get called if Node is readded to SceneTree + // cannot use READY as ready does not get called if Node is re-added to SceneTree set_agent_parent(get_parent()); set_physics_process_internal(true); |