mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2026-10-12 06:11:26 +00:00
Fix possible script error
This commit is contained in:
1 parent
e4d0d2cab5
commit
531cafb0ac
1 file changed
+3
@@ -2466,6 +2466,9 @@ bot_equipment_kill_think()
|
|||||||
{
|
{
|
||||||
item = grenades[i];
|
item = grenades[i];
|
||||||
|
|
||||||
|
if (!isDefined(item))
|
||||||
|
continue;
|
||||||
|
|
||||||
if ( !IsDefined( item.name ) )
|
if ( !IsDefined( item.name ) )
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in new issue
Block a user