From: Liza Carvelli Date: Thu, 26 Dec 2024 13:58:33 +0000 (+0100) Subject: Only show NameId if it isn't 0 X-Git-Tag: v4.11~30 X-Git-Url: https://git.jacobcasper.com/?a=commitdiff_plain;h=8ab584d55ee4b4d236d0629b367ff02ae0603bff;p=Questionable.git Only show NameId if it isn't 0 --- 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();