mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-19 09:32:52 +00:00
small fixes
This commit is contained in:
parent
fcd130a132
commit
b3967606f4
@ -556,6 +556,12 @@ onWeaponChange()
|
||||
{
|
||||
first = false;
|
||||
newWeapon = self getcurrentweapon();
|
||||
|
||||
// hack fix for botstop overridding weapon
|
||||
if ( newWeapon != "none" )
|
||||
{
|
||||
self switchtoweapon( newWeapon );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1781,6 +1787,7 @@ aim()
|
||||
for ( ;; )
|
||||
{
|
||||
wait 0.05;
|
||||
waittillframeend;
|
||||
|
||||
if ( level.inprematchperiod || level.gameended || self.bot.isfrozen || self maps\mp\_flashgrenades::isflashbanged() )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user