Fix switch

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

View File

@ -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":