Fixed an edge case where a score with all +-0ms errors will return null skewness
This commit is contained in:
parent
0d17c1f0b8
commit
fc9d973fde
@ -148,7 +148,7 @@ class FixOldScores(
|
||||
return
|
||||
}
|
||||
|
||||
if (processedReplay?.error_skewness == null || processedReplay.judgements.isEmpty()) {
|
||||
if (processedReplay == null || processedReplay.judgements.isEmpty()) {
|
||||
this.logger.error("Circleguard returned null and failed to process replay with score_id: ${score.id}")
|
||||
return
|
||||
}
|
||||
|
||||
@ -647,7 +647,7 @@ class ImportScores(
|
||||
return
|
||||
}
|
||||
|
||||
if (processedReplay?.error_skewness == null || processedReplay.judgements.isEmpty()) {
|
||||
if (processedReplay == null || processedReplay.judgements.isEmpty()) {
|
||||
this.logger.error("Circleguard returned null and failed to process replay with score_id: ${score.id}")
|
||||
return
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user