diff options
Diffstat (limited to 'doc/classes/Variant.xml')
-rw-r--r-- | doc/classes/Variant.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Variant.xml b/doc/classes/Variant.xml index 5882074698..240c1c909f 100644 --- a/doc/classes/Variant.xml +++ b/doc/classes/Variant.xml @@ -9,7 +9,7 @@ [gdscript] var foo = 2 # foo is dynamically an integer foo = "Now foo is a string!" - foo = Reference.new() # foo is an Object + foo = RefCounted.new() # foo is an Object var bar: int = 2 # bar is a statically typed integer. # bar = "Uh oh! I can't make static variables become a different type!" [/gdscript] |