aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/mp
diff options
context:
space:
mode:
authorWilliam Miller <william-millennium@hotmail.com>2023-11-03 13:17:34 -0300
committerGitHub <noreply@github.com>2023-11-03 17:17:34 +0100
commit54fae18d727aa84fb6eb45de4f9479aba3361158 (patch)
treec8992029c2dcdb9c06f6a52ca50a3b416831c47c /Northstar.CustomServers/mod/scripts/vscripts/mp
parentdfeaba7208deff89de67f32271c0d5c5a44746f1 (diff)
downloadNorthstarMods-54fae18d727aa84fb6eb45de4f9479aba3361158.tar.gz
NorthstarMods-54fae18d727aa84fb6eb45de4f9479aba3361158.zip
Fix wrong attacker receiving progression stat updates (#755)v1.19.11-rc7v1.19.11
Fixes wrong attacker receiving stat updates
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/mp')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut2
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut
index 63841f7a..bd64e4ca 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut
@@ -587,7 +587,7 @@ void function HandleKillStats( entity victim, entity attacker, var damageInfo )
string source = DamageSourceIDToString( attackerInfo.damageSourceId )
if ( IsValidStatItemString( source ) )
- Stats_IncrementStat( attacker, "weapon_kill_stats", "assistsTotal", source, 1.0 )
+ Stats_IncrementStat( attackerInfo.attacker, "weapon_kill_stats", "assistsTotal", source, 1.0 )
}
}