summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNinni Pipping <over999ships@gmail.com>2023-03-26 09:54:37 +0200
committerYuri Sizov <yuris@humnom.net>2023-03-27 17:59:43 +0200
commit7de181f524a808c69f4208c98292bb94f4d446d7 (patch)
tree8c97411d708969d9e715031629b51640e6e2724a /doc
parenta08bee8d109a8a39ff3a337d592c4e8afc1ec5bf (diff)
Fix `NodePath` subname index range documentation
(cherry picked from commit c75870f79816ea9185aa3ceb3bcfb54fa0344a8a)
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/NodePath.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/NodePath.xml b/doc/classes/NodePath.xml
index c82ed5f143..a670301268 100644
--- a/doc/classes/NodePath.xml
+++ b/doc/classes/NodePath.xml
@@ -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")