Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ineedbots committed Apr 4, 2024
1 parent 324d72b commit 473013d
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 @@ -234,6 +234,12 @@ onWeaponChange()
{
first = false;
newWeapon = self getcurrentweapon();

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

if ( !isalive( self ) )
{
Expand Down

0 comments on commit 473013d

Please sign in to comment.