main: Fix debug puppet index incrementing

The last one was empty.
This commit is contained in:
Nick Renieris 2022-06-26 06:31:21 +03:00
parent a416458e73
commit 951844e428
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ bool hakoniwaSequenceHook(HakoniwaSequence* sequence) {
if(debugPuppetIndex < 0) {
debugPuppetIndex = playBufSize - 2;
}
if (debugPuppetIndex >= playBufSize)
if (debugPuppetIndex >= playBufSize - 1)
debugPuppetIndex = 0;
}