Fix AudioStreamPlayback::stop not being called on AudioStreamPlayer::stop

This commit is contained in:
Marcelo Fernandez 2018-11-11 11:00:24 -03:00
parent d16ce4a8ed
commit 9c8449a3db

View file

@ -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);
}