mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
修正 #面板 命令中的排名展示问题
This commit is contained in:
parent
3a2c672aed
commit
dfd729af1d
@ -30,7 +30,7 @@ export default class ProfileRank {
|
||||
for (let typeKey of ['mark', 'dmg']) {
|
||||
let typeRank = await this.getTypeRank(profile, typeKey, force)
|
||||
ret[typeKey] = typeRank
|
||||
if (!ret.rank || ret.rank <= typeRank.rank) {
|
||||
if (!ret.rank || ret.rank >= typeRank.rank) {
|
||||
ret.rank = typeRank.rank
|
||||
ret.rankType = typeKey
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user