mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-04-25 23:29:12 +00:00
small fix
This commit is contained in:
parent
60a8f65180
commit
0b22a6b8a6
@ -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 ) )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user