소스 검색

adds null case to weakref docs

(cherry picked from commit dc4e72a3fc8520de57e9914fccb5d0b721a79d0d)
Matt 3 년 전
부모
커밋
eba8ce7d8c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>