mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 13:55:43 +00:00
a
This commit is contained in:
parent
b222709a6f
commit
997967771d
@ -452,9 +452,6 @@ getValidGrenade()
|
|||||||
possibles[possibles.size] = grenadeTypes[i];
|
possibles[possibles.size] = grenadeTypes[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!possibles.size)
|
|
||||||
return undefined;
|
|
||||||
|
|
||||||
return random(possibles);
|
return random(possibles);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user