summaryrefslogtreecommitdiff
path: root/scene/audio
diff options
context:
space:
mode:
Diffstat (limited to 'scene/audio')
-rw-r--r--scene/audio/stream_player.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/audio/stream_player.cpp b/scene/audio/stream_player.cpp
index fd18803394..c1799ec12c 100644
--- a/scene/audio/stream_player.cpp
+++ b/scene/audio/stream_player.cpp
@@ -106,8 +106,10 @@ void StreamPlayer::_notification(int p_what) {
resume_pos=-1;
} else if (autoplay) {
play();
+ autoplay = false; //this line fix autoplay issues
}
}
+
} break;
case NOTIFICATION_EXIT_TREE: {