mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-31 04:02:37 +00:00
fix extra score for being over target
This commit is contained in:
parent
8df1595f89
commit
d16358ec5a
1 changed files with 1 additions and 1 deletions
|
|
@ -601,7 +601,7 @@ gp_rank_e K_CalculateGPGrade(gpRank_t *rankData)
|
|||
|
||||
if (rankData->totalExp > 0)
|
||||
{
|
||||
rankData->scoreExp += (rankData->exp * expWeight) / rankData->totalExp;
|
||||
rankData->scoreExp += (std::min(rankData->exp, rankData->totalExp) * expWeight) / rankData->totalExp;
|
||||
}
|
||||
|
||||
if (rankData->totalPrisons > 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue