small fix

This commit is contained in:
ineed bots 2024-04-04 16:55:03 -06:00
parent 7a19d85393
commit 73141eddf4

View File

@ -182,6 +182,12 @@ onWeaponChange()
{
first = false;
newWeapon = self getcurrentweapon();
// hack fix for botstop overridding weapon
if ( newWeapon != "none" )
{
self switchtoweapon( newWeapon );
}
}
else
{
@ -1658,6 +1664,7 @@ aim()
for ( ;; )
{
wait 0.05;
waittillframeend;
if ( ( isdefined( level.intermission ) && level.intermission ) || self.bot.isfrozen )
{