mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2026-10-10 20:41:26 +00:00
small fixes
This commit is contained in:
1 parent
7d3dc13328
commit
81856f9d28
1 file changed
+3
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user