diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-12 17:10:52 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-12 17:10:52 +0200 |
commit | 7b1387ff218cd86be77dd7e774542e54251e7ea6 (patch) | |
tree | 096b4df3a5e4d3cd192051aaa78900bf6c8dc194 | |
parent | e208cdb17001049372335026aeb436ee9dc1f8d2 (diff) | |
parent | 32be4b407dffd4cbc66605fa324103364e3a3cf8 (diff) | |
download | redot-engine-7b1387ff218cd86be77dd7e774542e54251e7ea6.tar.gz |
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
-rw-r--r-- | doc/classes/AudioServer.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/AudioServer.xml b/doc/classes/AudioServer.xml index b2c60fa63a..d13511ee1c 100644 --- a/doc/classes/AudioServer.xml +++ b/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"> |