1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-18 14:21:41 +00:00

Fixed _stop() not being called when stop() is called

This commit is contained in:
BigPotatoAss
2024-09-29 19:37:29 +03:30
parent f4af8201ba
commit 623dc97064

View File

@@ -1248,6 +1248,8 @@ void AudioServer::stop_playback_stream(Ref<AudioStreamPlayback> p_playback) {
return;
}
p_playback->stop();
AudioStreamPlaybackListNode *playback_node = _find_playback_list_node(p_playback);
if (!playback_node) {
return;