Fix inaccurate K/D calculation

This commit is contained in:
okvdai
2023-05-01 17:51:45 +02:00
parent 47d91497dd
commit 5c11623ecb
2 changed files with 7 additions and 11 deletions
@@ -183,5 +183,5 @@ void function UpdateStatsForWeapon( string weaponRef )
SetStatsLabelValue( file.menu, "KillsValue0", getWeaponKillsFromToneAPI(weaponRef) )
SetStatsLabelValue( file.menu, "KillsValue1", getWeaponKillsFromToneAPI(weaponRef) )
SetStatsLabelValue( file.menu, "KillsValue2", GetPlayerStatInt( player, "weapon_kill_stats", "titansTotal", weaponRef ) )
SetStatsLabelValue( file.menu, "KillsValue3", GetPlayerStatInt( player, "weapon_kill_stats", "ai", weaponRef ) )
SetStatsLabelValue( file.menu, "KillsValue3", getDWEFromToneAPI(weaponRef))
}