fix: 修正 PlayerDataLite 的 LastDiffToImage 函数中国家排名差异的计算逻辑

This commit is contained in:
lixiangwuxian 2025-07-25 02:15:09 +08:00
parent 5eda01f209
commit df86341677

View File

@ -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 {
countryRankDiff = 0
}