aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut
diff options
context:
space:
mode:
authorx3Karma <juliuslimck@gmail.com>2022-03-11 11:28:30 +0800
committerGitHub <noreply@github.com>2022-03-11 03:28:30 +0000
commitd9c82016bbe8108357dd7b7dd433ea96074da71f (patch)
tree696c0694099c19964e260fc055869ca51cd623ba /Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut
parent846cd1efbb9e8c8de0f0c50ae90d271281c45719 (diff)
downloadNorthstarMods-d9c82016bbe8108357dd7b7dd433ea96074da71f.tar.gz
NorthstarMods-d9c82016bbe8108357dd7b7dd433ea96074da71f.zip
Additional scoring fixes (#261)
* Fix Assists being granted to the victim * Show attacker callsign on MegaKill * adds battery titan meter gain and fix some AI meter gain
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 )
}
}
}