aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-03-11 03:30:27 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-03-11 03:30:27 +0000
commit2ad4754375ce4193d1d1ffb6b3b3db85beea25a9 (patch)
treeaf14237d7efc348b88e684c0dd56b69ca50023c4 /Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut
parentdfaa2c1515665c9a4927fa3a0e6045421e0c135a (diff)
parentd9c82016bbe8108357dd7b7dd433ea96074da71f (diff)
downloadNorthstarMods-2ad4754375ce4193d1d1ffb6b3b3db85beea25a9.tar.gz
NorthstarMods-2ad4754375ce4193d1d1ffb6b3b3db85beea25a9.zip
Merge branch 'main' of https://github.com/R2Northstar/NorthstarMods
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut2
1 files changed, 1 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 4168de30d..8d29c6126 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut
@@ -291,7 +291,7 @@ 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" )
- player.AddToPlayerGameStat( PGS_ASSISTS, 1 )
+ attackerInfo.attacker.AddToPlayerGameStat( PGS_ASSISTS, 1 )
}
}
}