From a2f2d5af9282159aa092660d34a6645674e23f66 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Fri, 24 Nov 2023 10:27:43 -0600 Subject: [PATCH] add timeouts to volleyball --- packages/lib/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/lib/index.js b/packages/lib/index.js index b8ffdba..12c76bd 100644 --- a/packages/lib/index.js +++ b/packages/lib/index.js @@ -79,6 +79,10 @@ class Console { this.home.gamesWon = parseInt(buffer.subarray(16, 17).toString('hex'), 10); this.guest.gamesWon = parseInt(buffer.subarray(17, 18).toString('hex'), 10); + + this.home.timeouts = parseInt(bufferHex.substring(40, 41), 10); + this.guest.timeouts = parseInt(bufferHex.substring(41, 42), 10); + this.game = parseInt(bufferHex.substring(31, 32), 10); } }