From dd0e1bbb5db840fda15ffda4d4ca3fa3013ed178 Mon Sep 17 00:00:00 2001 From: INeedBots Date: Sat, 9 Jan 2021 00:18:56 -0600 Subject: [PATCH] fix carepackage --- userraw/maps/mp/bots/_bot_script.gsc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/userraw/maps/mp/bots/_bot_script.gsc b/userraw/maps/mp/bots/_bot_script.gsc index ef20696..6d05f0c 100644 --- a/userraw/maps/mp/bots/_bot_script.gsc +++ b/userraw/maps/mp/bots/_bot_script.gsc @@ -3415,18 +3415,16 @@ bot_crate_think() continue; if ( self HasScriptGoal() || self.bot_lock_goal ) - { - wait 0.1;//because bot_crate_landed notify causes a same frame ClearScriptGoal - - if( self HasScriptGoal() || self.bot_lock_goal ) - continue; - } + continue; if(self isDefusing() || self isPlanting()) continue; if(self IsUsingRemote() || self BotIsFrozen()) continue; + + if (self inLastStand()) + continue; crates = getEntArray( "care_package", "targetname" ); if ( crates.size == 0 )