diff --git a/getting_started/scripting/gdscript/gdscript_basics.rst b/getting_started/scripting/gdscript/gdscript_basics.rst index 1fc190e69..8df64fca7 100644 --- a/getting_started/scripting/gdscript/gdscript_basics.rst +++ b/getting_started/scripting/gdscript/gdscript_basics.rst @@ -895,7 +895,7 @@ There are 6 pattern types: matches the contents of a variable/enum :: match typeof(x): - TYPE_FLOAT: + TYPE_REAL: print("float") TYPE_STRING: print("text")