mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-06-27 06:31:49 +00:00
Fix
This commit is contained in:
@ -451,6 +451,9 @@ getValidGrenade()
|
||||
|
||||
possibles[possibles.size] = grenadeTypes[i];
|
||||
}
|
||||
|
||||
if (!possibles.size)
|
||||
return undefined;
|
||||
|
||||
return random(possibles);
|
||||
}
|
||||
|
Reference in New Issue
Block a user