Fix switch

This commit is contained in:
Your Name 2020-09-18 11:28:32 -06:00
parent fc3c41abec
commit 073a3a1f0a

View File

@ -991,6 +991,9 @@ onWeaponChange()
self waittill( "weapon_change", newWeapon );
self.bot.is_cur_full_auto = WeaponIsFullAuto(newWeapon);
if(level.gameEnded || !gameFlag( "prematch_done" ))
continue;
switch (newWeapon)
{