mirror of
https://github.com/godotengine/godot.git
synced 2025-02-05 21:41:47 +08:00
Merge pull request #97625 from SourceOfHTML/master
Fix `AudioStreamPlayback`'s `_stop()` not being called when `AudioStreamPlayer`'s `stop()` is called
This commit is contained in:
commit
5410000a52
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user