mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-06-28 07:01:50 +00:00
small fix
This commit is contained in:
@ -235,6 +235,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
|
||||||
{
|
{
|
||||||
@ -2145,6 +2151,7 @@ aim()
|
|||||||
for ( ;; )
|
for ( ;; )
|
||||||
{
|
{
|
||||||
wait 0.05;
|
wait 0.05;
|
||||||
|
waittillframeend;
|
||||||
|
|
||||||
if ( !isalive( self ) )
|
if ( !isalive( self ) )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user