From 8ab584d55ee4b4d236d0629b367ff02ae0603bff Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Thu, 26 Dec 2024 14:58:33 +0100 Subject: [PATCH] Only show NameId if it isn't 0 --- Questionable/Windows/QuestComponents/CreationUtilsComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Questionable/Windows/QuestComponents/CreationUtilsComponent.cs b/Questionable/Windows/QuestComponents/CreationUtilsComponent.cs index be6f31c1..f18c2fcc 100644 --- a/Questionable/Windows/QuestComponents/CreationUtilsComponent.cs +++ b/Questionable/Windows/QuestComponents/CreationUtilsComponent.cs @@ -201,7 +201,7 @@ internal sealed class CreationUtilsComponent private unsafe void DrawTargetDetails(IGameObject target) { string nameId = string.Empty; - if (target is ICharacter character) + if (target is ICharacter { NameId: > 0 } character) nameId = $"; n={character.NameId}"; ImGui.Separator();