Skip to content

Commit

Permalink
Fixed MLS clock and halftime
Browse files Browse the repository at this point in the history
  • Loading branch information
jclarke0000 committed Nov 26, 2018
1 parent 0cc0c9a commit cb77e3e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions providers/SNET.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,13 +242,11 @@ module.exports = {
break;

case "MLS":
/*
Games at the half get put in the "Half-Over",
array. So we don't need to handle it here.
To Do: Extra Time and Penalty Kicks
*/
status.push(game.clock);
status.push(self.getPeriod(league, game.period));
if (game.clock == "Half") {
status.push("HALFTIME");
} else {
status.push(game.clock);
}
break;

case "NFL":
Expand Down

0 comments on commit cb77e3e

Please sign in to comment.