Merge pull request #78139 from winston-yallow/document-audio-bus-index-from-name

Document behaviour of AudioServer.get_bus_index() if name doesn't exist
This commit is contained in:
Rémi Verschelde 2023-06-12 17:10:52 +02:00
commit 7b1387ff21
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -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">