diff --git a/frontend/app/player/MessageDistributor/PrimitiveReader.ts b/frontend/app/player/MessageDistributor/PrimitiveReader.ts index 7842212f9..b49955074 100644 --- a/frontend/app/player/MessageDistributor/PrimitiveReader.ts +++ b/frontend/app/player/MessageDistributor/PrimitiveReader.ts @@ -3,7 +3,7 @@ export default class PrimitiveReader { constructor(protected readonly buf: Uint8Array) {} hasNext() { - return this.buf.length < this.p + return this.p < this.buf.length } readUint() {