diff --git a/src/Loop.ts b/src/Loop.ts index c9a2b7a..2ede1dc 100644 --- a/src/Loop.ts +++ b/src/Loop.ts @@ -110,6 +110,7 @@ export class Loop { private stopPlaying() { this.loopTimeout && clearTimeout(this.loopTimeout); + this.currentLoopIndex = 0; this.log('Loop stopped'); }