Quellcode durchsuchen

Changed TYPE_FLOAT to TYPE_REAL

Wilson E. Alvarez vor 6 Jahren
Ursprung
Commit
0ca14438ae
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      getting_started/scripting/gdscript/gdscript_basics.rst

+ 1 - 1
getting_started/scripting/gdscript/gdscript_basics.rst

@@ -895,7 +895,7 @@ There are 6 pattern types:
     matches the contents of a variable/enum ::
     matches the contents of a variable/enum ::
 
 
         match typeof(x):
         match typeof(x):
-            TYPE_FLOAT:
+            TYPE_REAL:
                 print("float")
                 print("float")
             TYPE_STRING:
             TYPE_STRING:
                 print("text")
                 print("text")