소스 검색

Document behaviour of AudioServer.get_bus_index() if name doesn't exist

Winston 2 년 전
부모
커밋
32be4b407d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      doc/classes/AudioServer.xml

+ 1 - 1
doc/classes/AudioServer.xml

@@ -70,7 +70,7 @@
 			<return type="int" />
 			<param index="0" name="bus_name" type="StringName" />
 			<description>
-				Returns the index of the bus with the name [param bus_name].
+				Returns the index of the bus with the name [param bus_name]. Returns [code]-1[/code] if no bus with the specified name exist.
 			</description>
 		</method>
 		<method name="get_bus_name" qualifiers="const">