mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2026-10-18 07:53:26 +00:00
small fixes
This commit is contained in:
1 parent
324d72b001
commit
473013dfb3
1 file changed
+7
@@ -234,6 +234,12 @@ onWeaponChange()
|
||||
{
|
||||
first = false;
|
||||
newWeapon = self getcurrentweapon();
|
||||
|
||||
// hack fix for botstop overridding weapon
|
||||
if ( newWeapon != "none" )
|
||||
{
|
||||
self switchtoweapon( newWeapon );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1935,6 +1941,7 @@ aim()
|
||||
for ( ;; )
|
||||
{
|
||||
wait 0.05;
|
||||
waittillframeend;
|
||||
|
||||
if ( !isalive( self ) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user