From 78e347d4befa7988584cd31a179423bdc1b73741 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 15 Sep 2020 16:03:42 -0600 Subject: [PATCH] ok --- userraw/maps/mp/bots/_bot_script.gsc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/userraw/maps/mp/bots/_bot_script.gsc b/userraw/maps/mp/bots/_bot_script.gsc index 2f5c2a9..cd760e4 100644 --- a/userraw/maps/mp/bots/_bot_script.gsc +++ b/userraw/maps/mp/bots/_bot_script.gsc @@ -1554,6 +1554,9 @@ bot_use_tube_think() if (self IsUsingRemote()) continue; + if (self InLastStand() && !self InFinalStand()) + continue; + tubeWps = []; for (i = 0; i < level.waypointsTube.size; i++) { @@ -1598,9 +1601,6 @@ bot_use_tube_think() continue; } - if (self InLastStand() && !self InFinalStand()) - continue; - self SetScriptAimPos(loc); self BotStopMoving(true); wait 1; @@ -1608,7 +1608,7 @@ bot_use_tube_think() self.bot_perf_switch_weapon = tube; self notify("bot_force_check_switch"); wait 0.1; - + if (self GetCurrentWeapon() == tube) { self thread fire_current_weapon(); @@ -1867,6 +1867,9 @@ bot_jav_loc_think() if (self IsUsingRemote()) continue; + if (self InLastStand() && !self InFinalStand()) + continue; + javWps = []; for (i = 0; i < level.waypointsJav.size; i++) { @@ -1909,9 +1912,6 @@ bot_jav_loc_think() continue; } - if (self InLastStand() && !self InFinalStand()) - continue; - self SetBotJavelinLocation(loc); self notify("bot_force_check_switch");