圣遗物评分排序应该用数字类型 _mark 而不是字符类型的 mark (#280)

This commit is contained in:
Liangchun Zhang 2022-11-23 10:22:45 +08:00 committed by GitHub
parent 9ecc6e5b31
commit c75a14fa4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@ async function renderCharRankList ({ e, uids, char, mode, groupId }) {
} }
} }
} }
tmp._mark = mark?.mark || 0 tmp._mark = mark?._mark || 0
tmp._dmg = dmg?.avg || 0 tmp._dmg = dmg?.avg || 0
tmp._star = 5 - tmp.star tmp._star = 5 - tmp.star
list.push(tmp) list.push(tmp)