small fixes

This commit is contained in:
ineed bots 2024-04-04 16:52:40 -06:00
parent 7d3dc13328
commit 81856f9d28

View File

@ -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 )
{