From 39b54991b3dc0d1cb0611fdff9e8b4757036b148 Mon Sep 17 00:00:00 2001 From: Metious <71298690+Metious@users.noreply.github.com> Date: Thu, 6 Jun 2024 17:47:11 +0330 Subject: [PATCH] fix: Tab node display names are incorrect (#550) Fixed tab nodes not having display names --- Nautilus/Crafting/TabNode.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Nautilus/Crafting/TabNode.cs b/Nautilus/Crafting/TabNode.cs index 06b7b9370..369939bba 100644 --- a/Nautilus/Crafting/TabNode.cs +++ b/Nautilus/Crafting/TabNode.cs @@ -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)) {