Revision | 6804f6a091cfa9adf8256f56afbb9fef04815ce9 (tree) |
---|---|
Time | 2021-11-21 13:28:11 |
Author | Adam Kaminski <kaminskiadam9@gmai...> |
Commiter | Adam Kaminski |
Added SCORE_SPREAD and SCORE_RANK to GetPlayerScore.
@@ -247,6 +247,8 @@ | ||
247 | 247 | SCORE_KILLS, |
248 | 248 | SCORE_ITEMS, |
249 | 249 | SCORE_SECRETS, |
250 | + SCORE_SPREAD, | |
251 | + SCORE_RANK, | |
250 | 252 | }; |
251 | 253 | |
252 | 254 | struct CallReturn |
@@ -7614,6 +7616,10 @@ | ||
7614 | 7616 | return players[ulPlayer].itemcount; |
7615 | 7617 | case SCORE_SECRETS: |
7616 | 7618 | return players[ulPlayer].secretcount; |
7619 | + case SCORE_SPREAD: | |
7620 | + return PLAYER_CalcSpread( ulPlayer ); | |
7621 | + case SCORE_RANK: | |
7622 | + return PLAYER_CalcRank( ulPlayer ); | |
7617 | 7623 | } |
7618 | 7624 | } |
7619 | 7625 |