From cb77e3e291499a7f3713f71ca9a5c0c2b5dd2733 Mon Sep 17 00:00:00 2001 From: Jeff Clarke Date: Mon, 26 Nov 2018 08:25:30 +0000 Subject: [PATCH] Fixed MLS clock and halftime --- providers/SNET.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/providers/SNET.js b/providers/SNET.js index 85d7164..8cde923 100644 --- a/providers/SNET.js +++ b/providers/SNET.js @@ -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":