Skip to content

Commit

Permalink
fixed redund check
Browse files Browse the repository at this point in the history
  • Loading branch information
ineed bots committed May 10, 2024
1 parent 6c935c2 commit e781a8d
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions maps/mp/bots/_menu.gsc
Original file line number Diff line number Diff line change
Expand Up @@ -436,16 +436,13 @@ CursMove( direction )
self.menu[ "X" ][ "Scroller" ].x = self.menutext[ self.curs[ "Main" ][ "X" ] ].x;
self.menu[ "X" ][ "Scroller" ].y = self.menutext[ self.curs[ "Main" ][ "X" ] ].y;

if ( isdefined( self.menutext ) )
for ( i = 0; i < self.menutext.size; i++ )
{
for ( i = 0; i < self.menutext.size; i++ )
if ( isdefined( self.menutext[ i ] ) )
{
if ( isdefined( self.menutext[ i ] ) )
{
self.menutext[ i ].fontscale = 1.5;
self.menutext[ i ].color = ( 1, 1, 1 );
self.menutext[ i ].glowalpha = 0;
}
self.menutext[ i ].fontscale = 1.5;
self.menutext[ i ].color = ( 1, 1, 1 );
self.menutext[ i ].glowalpha = 0;
}
}
}
Expand Down

0 comments on commit e781a8d

Please sign in to comment.