main: Fix debug puppet index incrementing
The last one was empty.
This commit is contained in:
parent
a416458e73
commit
951844e428
|
@ -346,7 +346,7 @@ bool hakoniwaSequenceHook(HakoniwaSequence* sequence) {
|
||||||
if(debugPuppetIndex < 0) {
|
if(debugPuppetIndex < 0) {
|
||||||
debugPuppetIndex = playBufSize - 2;
|
debugPuppetIndex = playBufSize - 2;
|
||||||
}
|
}
|
||||||
if (debugPuppetIndex >= playBufSize)
|
if (debugPuppetIndex >= playBufSize - 1)
|
||||||
debugPuppetIndex = 0;
|
debugPuppetIndex = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue