fast continue

This commit is contained in:
Your Name 2020-09-18 12:58:45 -06:00
parent 8a9c7fb246
commit cff0a49edd

View File

@ -2868,9 +2868,16 @@ bot_killstreak_think()
self endon("death"); self endon("death");
level endon("game_ended"); level endon("game_ended");
doFastContinue = false;
for (;;) for (;;)
{ {
wait randomIntRange(1, 3); if (doFastContinue)
{
doFastContinue = false;
wait randomIntRange(1, 3);
}
if ( !isDefined( self.pers["killstreaks"][0] ) ) if ( !isDefined( self.pers["killstreaks"][0] ) )
continue; continue;
@ -2937,6 +2944,7 @@ bot_killstreak_think()
if (self waittill_any_return("new_goal", "goal", "bad_path") != "new_goal") if (self waittill_any_return("new_goal", "goal", "bad_path") != "new_goal")
self ClearScriptGoal(); self ClearScriptGoal();
doFastContinue = true;
continue; continue;
} }
} }