mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 13:55:04 +02:00
Fix/Improve linting
This commit is contained in:
@@ -90,8 +90,9 @@ export function decodeUpdate(data: Uint8Array): DecodedRegionUpdate {
|
||||
}
|
||||
|
||||
export function readOneUpdate(reader: BinaryReader): DecodedUpdate | undefined {
|
||||
if (reader.offset >= reader.view.byteLength)
|
||||
if (reader.offset >= reader.view.byteLength) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const flags = readUint16(reader);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user