mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-15 17:25:06 +00:00
reset on end of song
This commit is contained in:
parent
28a9d2c4a3
commit
004e8341c2
1 changed files with 4 additions and 0 deletions
|
@ -675,6 +675,10 @@ bool DivEngine::nextTick() {
|
|||
|
||||
if (--ticks<=0) {
|
||||
ret=endOfSong;
|
||||
if (endOfSong) {
|
||||
reset();
|
||||
}
|
||||
endOfSong=false;
|
||||
nextRow();
|
||||
}
|
||||
// process stuff
|
||||
|
|
Loading…
Reference in a new issue