Skip to content

Commit

Permalink
Don't fade out after pausing unless stream is running
Browse files Browse the repository at this point in the history
  • Loading branch information
ellenhp committed Feb 19, 2021
1 parent b8a13a4 commit eb5566f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/audio/audio_stream_player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit eb5566f

Please sign in to comment.