Skip to content

Commit

Permalink
chore: increment assists instead of replacing the value
Browse files Browse the repository at this point in the history
  • Loading branch information
redraskal committed Feb 23, 2024
1 parent 1cb1111 commit cb0691d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dissect/scoreboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func readScoreboardAssists(r *Reader) error {
username := "N/A"
if idx != -1 {
username = r.Header.Players[idx].Username
r.Scoreboard.Players[idx].Assists = assists
r.Scoreboard.Players[idx].Assists++
}
log.Debug().
Uint32("assists", assists).
Expand Down

0 comments on commit cb0691d

Please sign in to comment.