mirror of
https://github.com/ineedbots/t4_bot_warfare.git
synced 2025-04-20 15:15:43 +00:00
small fix
This commit is contained in:
parent
f133f5f33f
commit
5301ae50ec
@ -570,6 +570,12 @@ onWeaponChange()
|
||||
{
|
||||
first = false;
|
||||
newWeapon = self getcurrentweapon();
|
||||
|
||||
// hack fix for botstop overridding weapon
|
||||
if ( newWeapon != "none" )
|
||||
{
|
||||
self switchtoweapon( newWeapon );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1827,6 +1833,7 @@ aim()
|
||||
for ( ;; )
|
||||
{
|
||||
wait 0.05;
|
||||
waittillframeend;
|
||||
|
||||
if ( level.inprematchperiod || level.gameended || self.bot.isfrozen || self isFlared() )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user