mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2025-04-19 14:22:54 +00:00
small fixes
This commit is contained in:
parent
7d3dc13328
commit
81856f9d28
@ -422,6 +422,8 @@ onWeaponChange()
|
||||
{
|
||||
first = false;
|
||||
newWeapon = self getcurrentweapon();
|
||||
// hack fix for botstop overridding weapon
|
||||
self switchtoweapon( newWeapon );
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1447,6 +1449,7 @@ aim()
|
||||
for ( ;; )
|
||||
{
|
||||
wait 0.05;
|
||||
waittillframeend;
|
||||
|
||||
if ( level.gameended || self.bot.isfrozen )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user