summaryrefslogtreecommitdiff
path: root/src/packets/general.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/packets/general.ts')
-rw-r--r--src/packets/general.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packets/general.ts b/src/packets/general.ts
index f6b00dc..a83f79f 100644
--- a/src/packets/general.ts
+++ b/src/packets/general.ts
@@ -453,7 +453,7 @@ export class GameIdentiferPacket implements TASDPacket {
return PACKET_TYPES.GAME_IDENTIFIER;
}
get size() {
- return 2 + this.name.length + this.identifier.length;
+ return 3 + this.name.length + this.identifier.length;
}
static fromBuffer(buffer: Uint8Array) {
const type = readUint8(buffer, 0);