Procházet zdrojové kódy

adds null case to weakref docs

(cherry picked from commit dc4e72a3fc8520de57e9914fccb5d0b721a79d0d)
Matt před 3 roky
rodič
revize
eba8ce7d8c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      doc/classes/WeakRef.xml

+ 1 - 1
doc/classes/WeakRef.xml

@@ -12,7 +12,7 @@
 		<method name="get_ref" qualifiers="const">
 			<return type="Variant" />
 			<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>
 		</method>
 	</methods>