From ac6257bf8ad51f0980e023ac4d28e8cd14fd606b Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Wed, 29 Jun 2016 18:46:43 -0300 Subject: only call finished signal when it really finishes, closes #5222 --- scene/audio/stream_player.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scene/audio/stream_player.h') diff --git a/scene/audio/stream_player.h b/scene/audio/stream_player.h index 475139c2a4..4facc3c816 100644 --- a/scene/audio/stream_player.h +++ b/scene/audio/stream_player.h @@ -71,6 +71,8 @@ class StreamPlayer : public Node { AudioRBResampler resampler; + void _do_stop(); + bool _play; void _set_play(bool p_play); bool _get_play() const; -- cgit v1.2.3