mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-20 13:15:44 +00:00
small fixes
This commit is contained in:
parent
324d72b001
commit
473013dfb3
@ -234,6 +234,12 @@ onWeaponChange()
|
|||||||
{
|
{
|
||||||
first = false;
|
first = false;
|
||||||
newWeapon = self getcurrentweapon();
|
newWeapon = self getcurrentweapon();
|
||||||
|
|
||||||
|
// hack fix for botstop overridding weapon
|
||||||
|
if ( newWeapon != "none" )
|
||||||
|
{
|
||||||
|
self switchtoweapon( newWeapon );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1935,6 +1941,7 @@ aim()
|
|||||||
for ( ;; )
|
for ( ;; )
|
||||||
{
|
{
|
||||||
wait 0.05;
|
wait 0.05;
|
||||||
|
waittillframeend;
|
||||||
|
|
||||||
if ( !isalive( self ) )
|
if ( !isalive( self ) )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user