Fixed score differences in ranking and editor panel
This commit is contained in:
parent
51d2fb20a7
commit
64e0847815
@ -73,6 +73,10 @@ func Editors(ctx *aero.Context) string {
|
|||||||
score[entry.UserID] = current + entryScore
|
score[entry.UserID] = current + entryScore
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for ignore := range arn.StreamIgnoreAnimeDifferences() {
|
||||||
|
score[ignore.CreatedBy] += arn.IgnoreAnimeDifferenceEditorScore
|
||||||
|
}
|
||||||
|
|
||||||
sort.Slice(users, func(i, j int) bool {
|
sort.Slice(users, func(i, j int) bool {
|
||||||
scoreA := score[users[i].ID]
|
scoreA := score[users[i].ID]
|
||||||
scoreB := score[users[j].ID]
|
scoreB := score[users[j].ID]
|
||||||
|
Loading…
Reference in New Issue
Block a user