sync with upstreaom #2

Open
goatzone wants to merge 610 commits from liza/Questionable:master into master
Showing only changes of commit 8ab584d55e - Show all commits

View File

@ -201,7 +201,7 @@ internal sealed class CreationUtilsComponent
private unsafe void DrawTargetDetails(IGameObject target) private unsafe void DrawTargetDetails(IGameObject target)
{ {
string nameId = string.Empty; string nameId = string.Empty;
if (target is ICharacter character) if (target is ICharacter { NameId: > 0 } character)
nameId = $"; n={character.NameId}"; nameId = $"; n={character.NameId}";
ImGui.Separator(); ImGui.Separator();