Fix wrong attacker receiving progression stat updates (#755)

Fixes wrong attacker receiving stat updates
This commit is contained in:
William Miller 2023-11-03 13:17:34 -03:00 committed by GitHub
parent dfeaba7208
commit 54fae18d72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 )
}
}