From 004e8341c298c3d368a807ae933854f8ab5fb8c6 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Tue, 14 Dec 2021 13:16:35 -0500 Subject: [PATCH] reset on end of song --- src/engine/playback.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/playback.cpp b/src/engine/playback.cpp index bb9df4521..db0eb3aa0 100644 --- a/src/engine/playback.cpp +++ b/src/engine/playback.cpp @@ -675,6 +675,10 @@ bool DivEngine::nextTick() { if (--ticks<=0) { ret=endOfSong; + if (endOfSong) { + reset(); + } + endOfSong=false; nextRow(); } // process stuff