Don't fade out after pausing unless stream is running

(cherry picked from commit eb5566f5c5)
This commit is contained in:
Ellen Poe 2021-02-18 20:39:08 -08:00 committed by Rémi Verschelde
parent d55501505c
commit 8ac22bdae4

View File

@ -107,7 +107,7 @@ void AudioStreamPlayer::_mix_audio() {
}
if (stream_paused) {
if (stream_paused_fade) {
if (stream_paused_fade && stream_playback->is_playing()) {
_mix_internal(true);
stream_paused_fade = false;
}