Skip to content

Commit

Permalink
Remove some leftover references to the 2023 game.
Browse files Browse the repository at this point in the history
  • Loading branch information
patfair committed May 19, 2024
1 parent 84c973e commit f6f360a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Cheesy Arena ${{ github.ref }}
body: This is a release of Cheesy Arena for the 2023 FRC game, CHARGED UP. Download the version for your
body: This is a release of Cheesy Arena for the 2024 FRC game, CRESCENDO. Download the version for your
operating system below. Supported operating systems are Linux, macOS (x64 and M1), and Windows.
draft: false
prerelease: false
Expand Down
4 changes: 2 additions & 2 deletions game/score.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ func (score *Score) Summarize(opponentScore *Score) *ScoreSummary {
}

// Calculate autonomous period points.
for _, mobility := range score.LeaveStatuses {
if mobility {
for _, status := range score.LeaveStatuses {
if status {
summary.LeavePoints += 2
}
}
Expand Down
5 changes: 0 additions & 5 deletions partner/tba.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,6 @@ type TbaScoreBreakdown struct {
RP int `mapstructure:"rp"`
}

type TbaLink struct {
Nodes [3]int `json:"nodes"`
Row string `json:"row"`
}

type TbaRanking struct {
TeamKey string `json:"team_key"`
Rank int `json:"rank"`
Expand Down
27 changes: 0 additions & 27 deletions templates/grid.svg

This file was deleted.

0 comments on commit f6f360a

Please sign in to comment.