mirror of
https://github.com/ineedbots/t4_bot_warfare.git
synced 2025-04-23 00:15:44 +00:00
fix
This commit is contained in:
parent
13955c2f2b
commit
67b3d9ea08
@ -2049,6 +2049,10 @@ bot_use_equipment_think()
|
||||
|
||||
loc = undefined;
|
||||
|
||||
curWeap = self GetCurrentWeapon();
|
||||
if (curWeap == "none" || !isWeaponDroppable(curWeap))
|
||||
curWeap = self.lastDroppableWeapon;
|
||||
|
||||
if (!self nearAnyOfWaypoints(128, level.waypointsClay))
|
||||
{
|
||||
clayWps = [];
|
||||
@ -2106,6 +2110,7 @@ bot_use_equipment_think()
|
||||
self notify("stop_firing_weapon");
|
||||
}
|
||||
|
||||
self thread changeToWeapon(curWeap);
|
||||
self ClearScriptAimPos();
|
||||
self BotStopMoving(false);
|
||||
}
|
||||
@ -2462,7 +2467,7 @@ bot_killstreak_think()
|
||||
continue;
|
||||
|
||||
curWeap = self GetCurrentWeapon();
|
||||
if (curWeap == "none")
|
||||
if (curWeap == "none" || !isWeaponDroppable(curWeap))
|
||||
curWeap = self.lastDroppableWeapon;
|
||||
|
||||
targetPos = undefined;
|
||||
|
Loading…
x
Reference in New Issue
Block a user