From bb7d00388106920393e6140e9d26f3c047e12433 Mon Sep 17 00:00:00 2001 From: Max Hilbrunner Date: Wed, 2 Feb 2022 11:24:47 +0100 Subject: [PATCH] DOCS: Object.set() does nothing on type mismatch --- doc/classes/Object.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Object.xml b/doc/classes/Object.xml index f5f6ba8b6d9..bdc3a09322a 100644 --- a/doc/classes/Object.xml +++ b/doc/classes/Object.xml @@ -490,7 +490,7 @@ - Assigns a new value to the given property. If the [code]property[/code] does not exist, nothing will happen. + Assigns a new value to the given property. If the [code]property[/code] does not exist or the given value's type doesn't match, nothing will happen. [b]Note:[/b] In C#, the property name must be specified as snake_case if it is defined by a built-in Godot node. This doesn't apply to user-defined properties where you should use the same convention as in the C# source (typically PascalCase).