Skip to content

Commit

Permalink
Wrong attacker recieveing stat updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Zanieon committed Oct 22, 2023
1 parent 640d391 commit 41cb7ff
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 41cb7ff

Please sign in to comment.