sync with upstreaom #2

Open
goatzone wants to merge 581 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)
{
string nameId = string.Empty;
if (target is ICharacter character)
if (target is ICharacter { NameId: > 0 } character)
nameId = $"; n={character.NameId}";
ImGui.Separator();