aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/mp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-02-16 22:33:17 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-02-16 22:33:17 +0000
commitcb42658dfb6d70a044201867433af5ba018cc6cd (patch)
tree99fd166ee9cd10a5bf6e91647bbf7073150e0a58 /Northstar.CustomServers/mod/scripts/vscripts/mp
parent41a3025396e05c960ce972ed83e9c9e0a9c70e9e (diff)
downloadNorthstarMods-cb42658dfb6d70a044201867433af5ba018cc6cd.tar.gz
NorthstarMods-cb42658dfb6d70a044201867433af5ba018cc6cd.zip
actually update PGS_ASSISTS
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/mp')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut3
1 files changed, 2 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut
index d7514b29..453e35ec 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut
@@ -294,7 +294,8 @@ void function PostDeathThread_MP( entity player, var damageInfo ) // based on ga
{
alreadyAssisted[attackerInfo.attacker.GetEncodedEHandle()] <- true
Remote_CallFunction_NonReplay( attackerInfo.attacker, "ServerCallback_SetAssistInformation", attackerInfo.damageSourceId, attacker.GetEncodedEHandle(), player.GetEncodedEHandle(), attackerInfo.time )
- AddPlayerScore(attackerInfo.attacker, "PilotAssist" )
+ AddPlayerScore( attackerInfo.attacker, "PilotAssist" )
+ player.AddToPlayerGameStat( PGS_ASSISTS, 1 )
}
}
}