Browse Source

Merge pull request #63803 from matjlars/weakref-null

adds null case to weakref docs
Rémi Verschelde 3 years ago
parent
commit
d93c3f03f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/classes/WeakRef.xml

+ 1 - 1
doc/classes/WeakRef.xml

@@ -12,7 +12,7 @@
 		<method name="get_ref" qualifiers="const">
 		<method name="get_ref" qualifiers="const">
 			<return type="Variant" />
 			<return type="Variant" />
 			<description>
 			<description>
-				Returns the [Object] this weakref is referring to.
+				Returns the [Object] this weakref is referring to. Returns [code]null[/code] if that object no longer exists.
 			</description>
 			</description>
 		</method>
 		</method>
 	</methods>
 	</methods>