Skip to content

Commit

Permalink
Fix wrong attacker receiving progression stat updates (#755)
Browse files Browse the repository at this point in the history
Fixes wrong attacker receiving stat updates
  • Loading branch information
Zanieon authored Nov 3, 2023
1 parent dfeaba7 commit 54fae18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
}
}

Expand Down

0 comments on commit 54fae18

Please sign in to comment.