Skip to content

Commit

Permalink
inner for loop expr change
Browse files Browse the repository at this point in the history
  • Loading branch information
eehs committed Oct 12, 2021
1 parent be642c7 commit d22c6d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/weapons/menus.sp
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ Menu CreateMainMenu(int client)
dupKnifeCounter++;
for (int i = 0; i < dupKnifeCounter; i++)
{
if (dupKnifeCounter > 1) {
if (dupKnifeCounter >= 1) {
menu.RemoveItem(menuItemIndex);
return menu;
}
Expand Down

0 comments on commit d22c6d1

Please sign in to comment.