aboutsummaryrefslogtreecommitdiff
path: root/scene/2d/audio_stream_player_2d.cpp
diff options
context:
space:
mode:
authorMarcelo Paez2017-09-22 13:29:33 -0300
committerMarcelo Paez2017-09-22 15:05:09 -0300
commit5e50fde3d9e48941a5f36daafda57950b7a70b1b (patch)
tree9d4db275642e211ea28adf2937857bf9f200ca55 /scene/2d/audio_stream_player_2d.cpp
parent3237e05c3608fc900cb30519ffd3b15ddb064c9f (diff)
downloadgodot-5e50fde3d9e48941a5f36daafda57950b7a70b1b.tar.gz
godot-5e50fde3d9e48941a5f36daafda57950b7a70b1b.tar.zst
godot-5e50fde3d9e48941a5f36daafda57950b7a70b1b.zip
Changed get_audio_bus and set functions to get_audio_bus_name and set
and edited docs for Area2D due to renaming o get_audio_bus and set_audio_bus
Diffstat (limited to '')
-rw-r--r--scene/2d/audio_stream_player_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/audio_stream_player_2d.cpp b/scene/2d/audio_stream_player_2d.cpp
index 4b108996f..c11f13d2b 100644
--- a/scene/2d/audio_stream_player_2d.cpp
+++ b/scene/2d/audio_stream_player_2d.cpp
@@ -145,7 +145,7 @@ void AudioStreamPlayer2D::_notification(int p_what) {
if (!area2d->is_overriding_audio_bus())
continue;
- StringName bus_name = area2d->get_audio_bus();
+ StringName bus_name = area2d->get_audio_bus_name();
bus_index = AudioServer::get_singleton()->thread_find_bus_index(bus_name);
break;
}