diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-02-01 16:54:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-01 16:54:31 +0100 |
commit | 4cb64feae8f118529a5e1108c13d8fe05771857f (patch) | |
tree | 2f04d3c989f22db44443f1c93161b59bec4ad07a /scene/audio | |
parent | 51d3dee9c265fb9cb2617543c64e79e3a9e8e69f (diff) | |
parent | d588fe2740e3cb98b0f126e80490353333a5f97e (diff) |
Merge pull request #15910 from robfram/fix-audio-signal-issue-15895
Fix issue #15895, audio streams don't signalling finished after the first one
Diffstat (limited to 'scene/audio')
-rw-r--r-- | scene/audio/audio_player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/audio/audio_player.cpp b/scene/audio/audio_player.cpp index 766c9acf99..408c00334a 100644 --- a/scene/audio/audio_player.cpp +++ b/scene/audio/audio_player.cpp @@ -126,8 +126,8 @@ void AudioStreamPlayer::_notification(int p_what) { if (!active || (setseek < 0 && !stream_playback->is_playing())) { active = false; - emit_signal("finished"); set_process_internal(false); + emit_signal("finished"); } } |