diff options
| author | Marcelo Paez | 2017-09-22 13:29:33 -0300 |
|---|---|---|
| committer | Marcelo Paez | 2017-09-22 15:05:09 -0300 |
| commit | 5e50fde3d9e48941a5f36daafda57950b7a70b1b (patch) | |
| tree | 9d4db275642e211ea28adf2937857bf9f200ca55 /scene/2d/audio_stream_player_2d.cpp | |
| parent | 3237e05c3608fc900cb30519ffd3b15ddb064c9f (diff) | |
| download | godot-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.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 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; } |
