mirror of
https://github.com/godotengine/godot.git
synced 2024-11-13 07:32:55 +00:00
Fix AudioStreamPlayback::stop not being called on AudioStreamPlayer::stop
This commit is contained in:
parent
d16ce4a8ed
commit
9c8449a3db
@ -219,6 +219,7 @@ void AudioStreamPlayer::seek(float p_seconds) {
|
||||
void AudioStreamPlayer::stop() {
|
||||
|
||||
if (stream_playback.is_valid()) {
|
||||
stream_playback->stop();
|
||||
active = false;
|
||||
set_process_internal(false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user