Skip to content

Commit

Permalink
Fix sort categories (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubKosmaty authored Apr 6, 2022
1 parent 9f39a6f commit 62eb583
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addons/sourcemod/scripting/shop/item_manager.sp
Original file line number Diff line number Diff line change
Expand Up @@ -1379,9 +1379,8 @@ bool ItemManager_FillCategories(Menu menu, int source_client, bool inventory = f
if(index != -1 && index != x)
{
hCategoriesArray.SwapAt(index, x);

++x;
}
++x;
}
}
}
Expand Down

0 comments on commit 62eb583

Please sign in to comment.