From 073b2e17661ccb67b8450b90459077558977f37b Mon Sep 17 00:00:00 2001 From: ShaunLWM Date: Sat, 20 Feb 2021 11:58:03 +0800 Subject: [PATCH] Fix CT and T score return values --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index c4bf84a..e2ba872 100644 --- a/index.js +++ b/index.js @@ -54,8 +54,8 @@ class CSGOGSI extends EventEmitter { this.emit("gameMap", data["map"]["name"]); this.emit("gamePhase", data["map"]["phase"]); //warmup etc this.emit("gameRounds", data["map"]["round"]); - this.emit("gameCTscore", data["map"]["team_ct"]["score"]); - this.emit("gameTscore", data["map"]["team_t"]["score"]); + this.emit("gameCTscore", data["map"]["team_ct"]); + this.emit("gameTscore", data["map"]["team_t"]); } if (data["round_wins"]) {