Skip to content

Commit

Permalink
Fix CT and T score return values
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLWM committed Feb 20, 2021
1 parent 56b7681 commit 073b2e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"]) {
Expand Down

0 comments on commit 073b2e1

Please sign in to comment.