mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2026-12-05 03:58:39 +00:00
small fix
This commit is contained in:
1 parent
60a8f65180
commit
0b22a6b8a6
1 file changed
+7
@@ -235,6 +235,12 @@ onWeaponChange()
|
||||
{
|
||||
first = false;
|
||||
newWeapon = self getcurrentweapon();
|
||||
|
||||
// hack fix for botstop overridding weapon
|
||||
if ( newWeapon != "none" )
|
||||
{
|
||||
self switchtoweapon( newWeapon );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2145,6 +2151,7 @@ aim()
|
||||
for ( ;; )
|
||||
{
|
||||
wait 0.05;
|
||||
waittillframeend;
|
||||
|
||||
if ( !isalive( self ) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user