From 32be4b407dffd4cbc66605fa324103364e3a3cf8 Mon Sep 17 00:00:00 2001
From: Winston <44872771+winston-yallow@users.noreply.github.com>
Date: Mon, 12 Jun 2023 16:56:31 +0200
Subject: [PATCH] Document behaviour of AudioServer.get_bus_index() if name
doesn't exist
---
doc/classes/AudioServer.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/classes/AudioServer.xml b/doc/classes/AudioServer.xml
index b2c60fa63ae..d13511ee1cf 100644
--- a/doc/classes/AudioServer.xml
+++ b/doc/classes/AudioServer.xml
@@ -70,7 +70,7 @@
- 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.