Merge pull request #15910 from robfram/fix-audio-signal-issue-15895
Fix issue #15895, audio streams don't signalling finished after the first one
This commit is contained in:
commit
4cb64feae8
@ -126,8 +126,8 @@ void AudioStreamPlayer::_notification(int p_what) {
|
|||||||
|
|
||||||
if (!active || (setseek < 0 && !stream_playback->is_playing())) {
|
if (!active || (setseek < 0 && !stream_playback->is_playing())) {
|
||||||
active = false;
|
active = false;
|
||||||
emit_signal("finished");
|
|
||||||
set_process_internal(false);
|
set_process_internal(false);
|
||||||
|
emit_signal("finished");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user