Skip to content

Commit

Permalink
Merge pull request #78139 from winston-yallow/document-audio-bus-inde…
Browse files Browse the repository at this point in the history
…x-from-name

Document behaviour of AudioServer.get_bus_index() if name doesn't exist
  • Loading branch information
akien-mga committed Jun 12, 2023
2 parents e208cdb + 32be4b4 commit 7b1387f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/classes/AudioServer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 7b1387f

Please sign in to comment.