diff options
author | RedMser <redmser.jj2@gmail.com> | 2022-10-27 21:49:18 +0200 |
---|---|---|
committer | RedMser <redmser.jj2@gmail.com> | 2022-10-27 22:45:24 +0200 |
commit | b9c3a5534b0bfe1717d8919dd2a25b5cf8d7b821 (patch) | |
tree | 1b560bd9a4b66155db72f8bdb1a67e96848136ea /scene/2d/navigation_agent_2d.cpp | |
parent | aa989cb26f8b281e3d6a7ed79dca811963e3c712 (diff) |
Fix type of safe_velocity parameter
Diffstat (limited to 'scene/2d/navigation_agent_2d.cpp')
-rw-r--r-- | scene/2d/navigation_agent_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/navigation_agent_2d.cpp b/scene/2d/navigation_agent_2d.cpp index f077f7f5e6..826cfcea32 100644 --- a/scene/2d/navigation_agent_2d.cpp +++ b/scene/2d/navigation_agent_2d.cpp @@ -104,7 +104,7 @@ void NavigationAgent2D::_bind_methods() { ADD_SIGNAL(MethodInfo("path_changed")); ADD_SIGNAL(MethodInfo("target_reached")); ADD_SIGNAL(MethodInfo("navigation_finished")); - ADD_SIGNAL(MethodInfo("velocity_computed", PropertyInfo(Variant::VECTOR3, "safe_velocity"))); + ADD_SIGNAL(MethodInfo("velocity_computed", PropertyInfo(Variant::VECTOR2, "safe_velocity"))); } void NavigationAgent2D::_notification(int p_what) { |