mirror of
https://github.com/JezuzLizard/t4sp_bot_warfare.git
synced 2025-04-21 14:05:43 +00:00
small fix
This commit is contained in:
parent
7a19d85393
commit
73141eddf4
@ -182,6 +182,12 @@ onWeaponChange()
|
|||||||
{
|
{
|
||||||
first = false;
|
first = false;
|
||||||
newWeapon = self getcurrentweapon();
|
newWeapon = self getcurrentweapon();
|
||||||
|
|
||||||
|
// hack fix for botstop overridding weapon
|
||||||
|
if ( newWeapon != "none" )
|
||||||
|
{
|
||||||
|
self switchtoweapon( newWeapon );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1658,6 +1664,7 @@ aim()
|
|||||||
for ( ;; )
|
for ( ;; )
|
||||||
{
|
{
|
||||||
wait 0.05;
|
wait 0.05;
|
||||||
|
waittillframeend;
|
||||||
|
|
||||||
if ( ( isdefined( level.intermission ) && level.intermission ) || self.bot.isfrozen )
|
if ( ( isdefined( level.intermission ) && level.intermission ) || self.bot.isfrozen )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user