1
0
mirror of https://github.com/ineedbots/iw5_bot_warfare.git synced 2025-06-28 15:11:49 +00:00
This commit is contained in:
ineedbots
2021-05-19 08:19:10 -06:00
parent 8e9594e3c4
commit edef3282fe

View File

@ -3030,9 +3030,9 @@ bot_equipment_kill_think()
if (item.model != "weapon_radar" && item.model != "mp_trophy_system" && item.model != "weapon_jammer" && item.model != "projectile_bouncing_betty_grenade") if (item.model != "weapon_radar" && item.model != "mp_trophy_system" && item.model != "weapon_jammer" && item.model != "projectile_bouncing_betty_grenade")
continue; continue;
if (isDefined(equ.damageTaken) && isDefined(equ.maxHealth)) if (isDefined(item.damageTaken) && isDefined(item.maxHealth))
{ {
if (equ.damageTaken >= equ.maxHealth) if (item.damageTaken >= item.maxHealth)
continue; continue;
} }