From cb42658dfb6d70a044201867433af5ba018cc6cd Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Wed, 16 Feb 2022 22:33:17 +0000 Subject: actually update PGS_ASSISTS --- Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ) } } } -- cgit v1.2.3