aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-02-16 22:33:17 +0000
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-02-16 23:37:36 +0100
commit4195102a87097691082e3c6ea16da7fd85acdab1 (patch)
treea3d25cb85057a30617d73176737f3b49f7de642f
parent19ea9260c1a7e60fe3f31c50bf12656e334cd891 (diff)
downloadNorthstarMods-4195102a87097691082e3c6ea16da7fd85acdab1.tar.gz
NorthstarMods-4195102a87097691082e3c6ea16da7fd85acdab1.zip
actually update PGS_ASSISTS
-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 )
}
}
}