Skip to content

Commit

Permalink
fix: Tab node display names are incorrect (#550)
Browse files Browse the repository at this point in the history
Fixed tab nodes not having display names
  • Loading branch information
Metious authored Jun 6, 2024
1 parent 4260536 commit 39b5499
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Nautilus/Crafting/TabNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ internal TabNode(string[] path, CraftTree.Type scheme, Sprite sprite, string nam
Sprite = sprite;
DisplayName = displayName;
Name = name;
Id = $"{Scheme.ToString()}_{Name}";
Id = $"{Scheme.ToString()}Menu_{Name}";

ModSprite.Add(new ModSprite(SpriteManager.Group.Category, Id, Sprite));
ModSprite.Add(new ModSprite(SpriteManager.Group.Category, $"{Scheme.ToString()}_{Name}", Sprite));

if (!string.IsNullOrEmpty(displayName))
{
Expand Down

0 comments on commit 39b5499

Please sign in to comment.