From 7de181f524a808c69f4208c98292bb94f4d446d7 Mon Sep 17 00:00:00 2001 From: Ninni Pipping Date: Sun, 26 Mar 2023 09:54:37 +0200 Subject: Fix `NodePath` subname index range documentation (cherry picked from commit c75870f79816ea9185aa3ceb3bcfb54fa0344a8a) --- doc/classes/NodePath.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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 @@ - 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") -- cgit v1.2.3