Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ineed bots committed Apr 4, 2024
1 parent 60a8f65 commit 0b22a6b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions maps/mp/bots/_bot_internal.gsc
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,12 @@ onWeaponChange()
{
first = false;
newWeapon = self getcurrentweapon();

// hack fix for botstop overridding weapon
if ( newWeapon != "none" )
{
self switchtoweapon( newWeapon );
}
}
else
{
Expand Down Expand Up @@ -2145,6 +2151,7 @@ aim()
for ( ;; )
{
wait 0.05;
waittillframeend;

if ( !isalive( self ) )
{
Expand Down

0 comments on commit 0b22a6b

Please sign in to comment.