소스 검색

Fix wrong return type mention in AStarGrid2D docs

(cherry picked from commit f8c0208e96ecbee5d2b7506d9d71e697d392bc7d)
Brandtware 1 년 전
부모
커밋
6c898685c7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      doc/classes/AStarGrid2D.xml

+ 1 - 1
doc/classes/AStarGrid2D.xml

@@ -67,7 +67,7 @@
 			<param index="1" name="to_id" type="Vector2i" />
 			<description>
 				Returns an array with the points that are in the path found by AStarGrid2D between the given points. The array is ordered from the starting point to the ending point of the path.
-				[b]Note:[/b] This method is not thread-safe. If called from a [Thread], it will return an empty [PackedVector3Array] and will print an error message.
+				[b]Note:[/b] This method is not thread-safe. If called from a [Thread], it will return an empty [PackedVector2Array] and will print an error message.
 			</description>
 		</method>
 		<method name="get_point_position" qualifiers="const">