mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 05:55:42 +00:00
fix carepackage
This commit is contained in:
parent
fc9b03d9ac
commit
dd0e1bbb5d
@ -3415,12 +3415,7 @@ 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;
|
||||
}
|
||||
|
||||
if(self isDefusing() || self isPlanting())
|
||||
continue;
|
||||
@ -3428,6 +3423,9 @@ bot_crate_think()
|
||||
if(self IsUsingRemote() || self BotIsFrozen())
|
||||
continue;
|
||||
|
||||
if (self inLastStand())
|
||||
continue;
|
||||
|
||||
crates = getEntArray( "care_package", "targetname" );
|
||||
if ( crates.size == 0 )
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user