Fix NodePath subname index range documentation

(cherry picked from commit c75870f798)
This commit is contained in:
Ninni Pipping 2023-03-26 09:54:37 +02:00 committed by Yuri Sizov
parent a08bee8d10
commit 7de181f524

View File

@ -141,7 +141,7 @@
<return type="StringName" />
<param index="0" name="idx" type="int" />
<description>
Gets the resource or property name indicated by [param idx] (0 to [method get_subname_count]).
Gets the resource or property name indicated by [param idx] (0 to [method get_subname_count] - 1).
[codeblocks]
[gdscript]
var node_path = NodePath("Path2D/PathFollow2D/Sprite2D:texture:load_path")