remove console logs

This commit is contained in:
2023-08-18 20:01:53 +02:00
parent 2134680f63
commit d532984283
-6
View File
@@ -48,9 +48,6 @@ void function OnWeaponFired(entity weapon, WeaponPrimaryAttackParams attackParam
} }
void function OnDamage( entity victim, var damageInfo){ void function OnDamage( entity victim, var damageInfo){
// if(!victim.IsPlayer()){
// return
// }
entity player = DamageInfo_GetAttacker( damageInfo ) entity player = DamageInfo_GetAttacker( damageInfo )
if(!IsValid(player) || !player.IsPlayer()){ if(!IsValid(player) || !player.IsPlayer()){
@@ -81,9 +78,6 @@ void function OnDamage( entity victim, var damageInfo){
if(headshot){ if(headshot){
file.weaponsUsed[player][weaponName].shotHeadshot++ file.weaponsUsed[player][weaponName].shotHeadshot++
} }
print("crit " + string(file.weaponsUsed[player][weaponName].shotCrit))
print("headshot " + string(file.weaponsUsed[player][weaponName].shotHeadshot))
} }
void function TrackTitanWeapons( entity player ){ void function TrackTitanWeapons( entity player ){