diff --git a/source/main.cpp b/source/main.cpp index 2306de1..971a735 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -346,7 +346,7 @@ bool hakoniwaSequenceHook(HakoniwaSequence* sequence) { if(debugPuppetIndex < 0) { debugPuppetIndex = playBufSize - 2; } - if (debugPuppetIndex >= playBufSize) + if (debugPuppetIndex >= playBufSize - 1) debugPuppetIndex = 0; }