mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-04-26 15:44:49 +00:00
Fix
This commit is contained in:
parent
8e9594e3c4
commit
edef3282fe
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user