fix: 修正 PlayerDataLite 的 LastDiffToImage 函数中国家排名差异的计算逻辑
This commit is contained in:
parent
5eda01f209
commit
df86341677
@ -543,7 +543,7 @@ func (p PlayerDataLite) LastDiffToImage(lastQueryData PlayerDataLite, onlyFirstF
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 区域排名
|
// 区域排名
|
||||||
countryRankDiff := p.CountryRank - lastQueryData.CountryRank
|
countryRankDiff := lastQueryData.CountryRank - p.CountryRank
|
||||||
if lastQueryData.CountryRank == 0 {
|
if lastQueryData.CountryRank == 0 {
|
||||||
countryRankDiff = 0
|
countryRankDiff = 0
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user