Skip to content

Commit

Permalink
dont show redundant items though
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisinajar committed May 17, 2024
1 parent be6da96 commit 0d114a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/game/shop/shop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ export function ItemTypeShop({
}}
>
{items.map((shopItem) => {
if (shopItem.id !== shopItem.alias) {
return null;
}
return (
<MenuItem
key={shopItem.id}
Expand Down

0 comments on commit 0d114a0

Please sign in to comment.