mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 05:55:42 +00:00
Fix switch
This commit is contained in:
parent
fc3c41abec
commit
073a3a1f0a
@ -992,6 +992,9 @@ onWeaponChange()
|
|||||||
|
|
||||||
self.bot.is_cur_full_auto = WeaponIsFullAuto(newWeapon);
|
self.bot.is_cur_full_auto = WeaponIsFullAuto(newWeapon);
|
||||||
|
|
||||||
|
if(level.gameEnded || !gameFlag( "prematch_done" ))
|
||||||
|
continue;
|
||||||
|
|
||||||
switch (newWeapon)
|
switch (newWeapon)
|
||||||
{
|
{
|
||||||
case "none":
|
case "none":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user