Hotfix bug where deleting a score will always delete your PB (typescript why...)

This commit is contained in:
zkldi
2021-12-14 14:01:55 +00:00
parent df8b9cdcf4
commit 2d379d3cc8
@@ -76,7 +76,7 @@ export async function DeleteScore(score: ScoreDocument, blacklist = false) {
const userHasOtherScores = await db.scores.findOne({
userID: score.userID,
chart: score.chartID,
chartID: score.chartID,
});
if (userHasOtherScores) {