Browse Source

Fix score calculation

master
NGnius (Graham) 3 years ago
parent
commit
eeec1fc30e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      main.go

+ 1
- 1
main.go View File

@@ -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,