Fix score calculation
This commit is contained in:
parent
4c61b83227
commit
eeec1fc30e
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -176,7 +176,7 @@ func criteriaHandler(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
// if criteria matches, send new entry to leadercraft-s
|
||||
entry := NewEntryJSON{
|
||||
Score: realCriteria.Score(reqCriteria),
|
||||
Score: reqCriteria.Score(realCriteria),
|
||||
PlayerID: reqCriteria.PlayerID,
|
||||
BoardID: realCriteria.GameID,
|
||||
Password: password,
|
||||
|
|
Loading…
Add table
Reference in a new issue