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
@ -991,6 +991,9 @@ onWeaponChange()
|
|||||||
self waittill( "weapon_change", newWeapon );
|
self waittill( "weapon_change", newWeapon );
|
||||||
|
|
||||||
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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user