small fix

This commit is contained in:
ineed bots 2024-04-04 17:02:46 -06:00
parent 60a8f65180
commit 0b22a6b8a6

View File

@ -235,6 +235,12 @@ onWeaponChange()
{
first = false;
newWeapon = self getcurrentweapon();
// hack fix for botstop overridding weapon
if ( newWeapon != "none" )
{
self switchtoweapon( newWeapon );
}
}
else
{
@ -2145,6 +2151,7 @@ aim()
for ( ;; )
{
wait 0.05;
waittillframeend;
if ( !isalive( self ) )
{