diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2017-09-23 01:08:05 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-23 01:08:05 +0700 |
commit | a42fbfc426017849f546920cf2418614185f528a (patch) | |
tree | 9d4db275642e211ea28adf2937857bf9f200ca55 /scene/2d/audio_stream_player_2d.cpp | |
parent | 3237e05c3608fc900cb30519ffd3b15ddb064c9f (diff) | |
parent | 5e50fde3d9e48941a5f36daafda57950b7a70b1b (diff) |
Merge pull request #11497 from paezao/issue-11109
Area2D get_audio_bus and set_audio_bus renamed to get_audio_bus_name and set_audio_bus_name
Diffstat (limited to 'scene/2d/audio_stream_player_2d.cpp')
-rw-r--r-- | scene/2d/audio_stream_player_2d.cpp | 2 |
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 4b108996f0..c11f13d2bd 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; } |