Skip to content

Commit

Permalink
Adds penalty goals to game scores in euro2024 (#777)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasdotcom authored Jul 1, 2024
1 parent 521f316 commit 89916cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion store/Euro2024/Euro2024.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "Euro2024",
"version": "0.5.2",
"version": "0.5.3",
"min_version": "1.20.0",
"description": "This is for the 2024 European Championship. Note that the last clubs player scores aren't always updated in time.",
"files": [
Expand Down
8 changes: 4 additions & 4 deletions store/Euro2024/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ const Main: dataGetter = async function () {
gameStart,
gameEnd,
opponent: game.away_team.name_short,
teamScore: game.home_team_score,
opponentScore: game.away_team_score,
teamScore: game.home_team_score + game.home_team_pen_score,
opponentScore: game.away_team_score + game.away_team_pen_score,
league: "Euro2024",
home: true,
future_games: future_games
Expand Down Expand Up @@ -140,8 +140,8 @@ const Main: dataGetter = async function () {
gameStart,
gameEnd,
opponent: game.home_team.name_short,
teamScore: game.away_team_score,
opponentScore: game.home_team_score,
teamScore: game.away_team_score + game.away_team_pen_score,
opponentScore: game.home_team_score + game.home_team_pen_score,
league: "Euro2024",
home: false,
future_games: future_games
Expand Down

0 comments on commit 89916cb

Please sign in to comment.