Skip to content

Commit 073b2e1

Browse files
committed
Fix CT and T score return values
1 parent 56b7681 commit 073b2e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ class CSGOGSI extends EventEmitter {
5454
this.emit("gameMap", data["map"]["name"]);
5555
this.emit("gamePhase", data["map"]["phase"]); //warmup etc
5656
this.emit("gameRounds", data["map"]["round"]);
57-
this.emit("gameCTscore", data["map"]["team_ct"]["score"]);
58-
this.emit("gameTscore", data["map"]["team_t"]["score"]);
57+
this.emit("gameCTscore", data["map"]["team_ct"]);
58+
this.emit("gameTscore", data["map"]["team_t"]);
5959
}
6060

6161
if (data["round_wins"]) {

0 commit comments

Comments
 (0)