fix laststnad

This commit is contained in:
Your Name
2020-09-17 12:10:54 -06:00
parent 154332f014
commit af5d7e9c6e
2 changed files with 25 additions and 0 deletions

View File

@ -1070,6 +1070,10 @@ onLastStand()
if (!self inFinalStand() && !self IsUsingRemote())
{
while (self.bot.knifing || self.bot.tryingtofrag || self.disabledWeapon)
wait 0.05;
waittillframeend;
pistol = undefined;
weaponsList = self GetWeaponsListPrimaries();
foreach ( weapon in weaponsList )
@ -1213,6 +1217,9 @@ grenade_danager()
{
wait 1;
if (self inLastStand() && !self _hasPerk("specialty_laststandoffhand") && !self inFinalStand())
continue;
if (self.bot.isfrozen || level.gameEnded || !gameFlag( "prematch_done" ))
continue;