summaryrefslogtreecommitdiffstats
path: root/doc/classes/ProjectSettings.xml
diff options
context:
space:
mode:
authorDanil Alexeev <danil@alexeev.xyz>2023-10-27 11:08:54 +0300
committerDanil Alexeev <danil@alexeev.xyz>2023-10-27 12:42:00 +0300
commit6e996a597fca1181436816a82cced6b8cf34f280 (patch)
tree1ef23d6336d90a6ba5b63ceb08734a7e504eaf2e /doc/classes/ProjectSettings.xml
parent09946f79bd8215b2c6332de8821737580909a91c (diff)
downloadredot-engine-6e996a597fca1181436816a82cced6b8cf34f280.tar.gz
GDScript: Fix `UNSAFE_CAST` warning
Diffstat (limited to 'doc/classes/ProjectSettings.xml')
-rw-r--r--doc/classes/ProjectSettings.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml
index 69a374fd58..6abcd9d72c 100644
--- a/doc/classes/ProjectSettings.xml
+++ b/doc/classes/ProjectSettings.xml
@@ -556,7 +556,7 @@
When set to [code]warn[/code] or [code]error[/code], produces a warning or an error respectively when using an expression whose type may not be compatible with the function parameter expected.
</member>
<member name="debug/gdscript/warnings/unsafe_cast" type="int" setter="" getter="" default="0">
- When set to [code]warn[/code] or [code]error[/code], produces a warning or an error respectively when performing an unsafe cast.
+ When set to [code]warn[/code] or [code]error[/code], produces a warning or an error respectively when a [Variant] value is cast to a non-Variant.
</member>
<member name="debug/gdscript/warnings/unsafe_method_access" type="int" setter="" getter="" default="0">
When set to [code]warn[/code] or [code]error[/code], produces a warning or an error respectively when calling a method whose presence is not guaranteed at compile-time in the class.