Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jchv committed Jul 3, 2023
1 parent 4806f7e commit ec17f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game/room/room.go
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ func (r *Room) handleRoomGameTurnEnd(ctx context.Context, event RoomGameTurnEnd)
}
for i, pair := 0, r.players.Oldest(); pair != nil; pair = pair.Next() {
bonusPang := pair.Value.BonusPang
bonusPang += r.lobby.configProvider.GetCourseBonus()
bonusPang += r.lobby.configProvider.GetCourseBonus(r.state.Course, r.players.Len(), int(r.state.NumHoles))
results.Standings[i].ConnID = pair.Value.Entry.ConnID
results.Standings[i].Pang = pair.Value.Pang
results.Standings[i].Score = int8(pair.Value.Score)
Expand Down

0 comments on commit ec17f7e

Please sign in to comment.