From ff61feaf4e9d72a2f9525f4ee23eb42c1bf0ff70 Mon Sep 17 00:00:00 2001 From: Ninni Pipping Date: Sun, 26 Mar 2023 20:18:02 +0200 Subject: [PATCH] [3.x] Fix `NodePath` subname index range documentation --- doc/classes/NodePath.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/NodePath.xml b/doc/classes/NodePath.xml index a12ace0788f..2dd1d24304a 100644 --- a/doc/classes/NodePath.xml +++ b/doc/classes/NodePath.xml @@ -96,7 +96,7 @@ - Gets the resource or property name indicated by [code]idx[/code] (0 to [method get_subname_count]). + Gets the resource or property name indicated by [code]idx[/code] (0 to [method get_subname_count] - 1). [codeblock] var node_path = NodePath("Path2D/PathFollow2D/Sprite:texture:load_path") print(node_path.get_subname(0)) # texture