Skip to content

Commit a7a1e3f

Browse files
committed
Fix Tennis
1 parent 51aea2a commit a7a1e3f

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

dist/set_sports.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,16 @@ export function setSoccer(t, stateObj, c, team, oppo) {
218218
// timeoutsDisplay = 'inline';
219219
//
220220
export function setTennis(t, stateObj, c, team, oppo) {
221-
c.venue = stateObj.attributes.event_name;
222-
c.pre1 = t.translate("common.tourney" + stateObj.attributes.odds)
223-
c.in1 = c.pre1;
224-
c.finalTerm = stateObj.attributes.clock + " - " + c.gameDatePOST + " (" + c.pre1 + ")";
221+
c.venue = stateObj.attributes.venue;
222+
c.location = stateObj.attributes.location;
223+
224+
c.pre1 = stateObj.attributes.event_name
225+
c.pre2 = stateObj.attributes.overunder
226+
c.pre3 = stateObj.attributes.down_distance_text
227+
228+
c.in1 = c.pre1
229+
c.in2 = c.pre3
230+
c.finalTerm = stateObj.attributes.clock + " - " + c.gameDatePOST + " (" + c.pre3 + ")";
225231

226232
c.gameBar = t.translate("tennis.gameBar", "%s", stateObj.attributes.clock);
227233
c.barLength[team] = stateObj.attributes.team_score;

0 commit comments

Comments
 (0)