Fix ignoring of human non-zero model ids.

This commit is contained in:
Ottermandias 2023-07-31 18:18:33 +02:00
parent 8c427e49e3
commit d1bb2ddefe
3 changed files with 14 additions and 4 deletions

View file

@ -124,7 +124,10 @@ public class ActorPanel
private void DrawCustomizationsHeader()
{
if (!ImGui.CollapsingHeader("Customization"))
var header = _state!.ModelData.ModelId == 0
? "Customization"
: $"Customization (Model Id #{_state.ModelData.ModelId})###Customization";
if (!ImGui.CollapsingHeader(header))
return;
if (_customizationDrawer.Draw(_state!.ModelData.Customize, _state.IsLocked, _identifier.Type is IdentifierType.Special))