diff options
author | William Miller <william-millennium@hotmail.com> | 2024-07-06 19:53:51 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-07 00:53:51 +0200 |
commit | de01dc34c66a57eb77b68e1403f5503e84802df8 (patch) | |
tree | 3564b5bc05412f77d440d02001090cdd263eb254 | |
parent | e898b0a17d817bf36189ed9c5499ded4cefdbb26 (diff) | |
download | NorthstarMods-1.26.1.tar.gz NorthstarMods-1.26.1.zip |
Fix oversight in "Total MVP" not registering in regards to progression (#814)v1.26.1
The game have an extra stat especifically to count the total amount of times a player has been MVP in all matches, while the other mvp stat which i previously thought to be absolutely is only registered per map, not globally.
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut index 5eba24ac..f7c398d9 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut @@ -861,6 +861,7 @@ void function SetWinner( int team, string winningReason = "", string losingReaso { case 1: UpdatePlayerStat( players[i], "game_stats", "mvp" ) + UpdatePlayerStat( players[i], "game_stats", "mvp_total" ) UpdatePlayerStat( players[i], "game_stats", "top3OnTeam" ) break case 2: |