Skip to content

Commit

Permalink
Merge branch 'release/2.7.0' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
thordy committed Sep 12, 2023
2 parents 25eac66 + 92c58fc commit 58f0867
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Changelog

## [2.7.0] - TBD
## [2.7.0] - 2023-09-12
#### Feature
- Player Badges!
- Support for Tournament Presets
- Added commands for recalculating statistics, resetting elo etc
- New endpoint for getting player hits
Expand Down Expand Up @@ -139,7 +140,7 @@
#### Feature
- Intial version of API for [kcapp-frontend](https://github.com/kcapp/frontend)

[2.7.0]: https://github.com/kcapp/api/compare/v2.6.0...develop
[2.7.0]: https://github.com/kcapp/api/compare/v2.6.0...v2.7.0
[2.6.0]: https://github.com/kcapp/api/compare/v2.5.0...v2.6.0
[2.5.0]: https://github.com/kcapp/api/compare/v2.4.0...v2.5.0
[2.4.0]: https://github.com/kcapp/api/compare/v2.3.0...v2.4.0
Expand Down
1 change: 1 addition & 0 deletions data/leg.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ func FinishLeg(visit models.Visit) error {
tx.Rollback()
return err
}
leg.WinnerPlayerID = winnerID
log.Printf("[%d] Finished with player %d winning", visit.LegID, winnerID.ValueOrZero())

if matchType == models.SHOOTOUT {
Expand Down

0 comments on commit 58f0867

Please sign in to comment.