Only show NameId if it isn't 0

This commit is contained in:
Liza 2024-12-26 14:58:33 +01:00
parent e25e64e9cf
commit 8ab584d55e
Signed by: liza
GPG Key ID: 2C41B84815CF6445

View File

@ -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();