mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 05:55:42 +00:00
fixed bots with marathon possibly running in circles forever
This commit is contained in:
parent
0b50f51ed4
commit
61ff4b574e
@ -819,7 +819,7 @@ setBotWantSprint()
|
||||
|
||||
self.bot.wantsprint = true;
|
||||
|
||||
self waittill( "kill_goal" );
|
||||
self waittill_notify_or_timeout( "kill_goal", 10 );
|
||||
|
||||
self.bot.wantsprint = false;
|
||||
}
|
||||
|
@ -4617,7 +4617,7 @@ bot_killstreak_think_loop( data )
|
||||
case "emp":
|
||||
self BotStopMoving( true );
|
||||
|
||||
self BotNotifyBotEvent( "killstreak", "call", streakName );
|
||||
self BotNotifyBotEvent( "killstreak", "call", streakName, location, directionYaw );
|
||||
|
||||
if ( self changeToWeapon( ksWeap ) )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user