From eb5566f5c5f6ed6171a9d271ffff766e7a9f8a04 Mon Sep 17 00:00:00 2001 From: Ellen Poe Date: Thu, 18 Feb 2021 20:39:08 -0800 Subject: Don't fade out after pausing unless stream is running --- scene/audio/audio_stream_player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/audio') diff --git a/scene/audio/audio_stream_player.cpp b/scene/audio/audio_stream_player.cpp index 7957571ab7..2853a8b9d9 100644 --- a/scene/audio/audio_stream_player.cpp +++ b/scene/audio/audio_stream_player.cpp @@ -105,7 +105,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; } -- cgit v1.2.3