fixed bots with marathon possibly running in circles forever

This commit is contained in:
ineed bots 2022-05-06 18:50:09 -06:00
parent 0b50f51ed4
commit 61ff4b574e
2 changed files with 2 additions and 2 deletions

View File

@ -819,7 +819,7 @@ setBotWantSprint()
self.bot.wantsprint = true; self.bot.wantsprint = true;
self waittill( "kill_goal" ); self waittill_notify_or_timeout( "kill_goal", 10 );
self.bot.wantsprint = false; self.bot.wantsprint = false;
} }

View File

@ -4617,7 +4617,7 @@ bot_killstreak_think_loop( data )
case "emp": case "emp":
self BotStopMoving( true ); self BotStopMoving( true );
self BotNotifyBotEvent( "killstreak", "call", streakName ); self BotNotifyBotEvent( "killstreak", "call", streakName, location, directionYaw );
if ( self changeToWeapon( ksWeap ) ) if ( self changeToWeapon( ksWeap ) )
{ {