- Removed 'None' as a user specified option for sex type. Animations will now be automatically assigned a sex type of 'None' if they have no other sex type or interaction def specified
- Minor UI improvements
This commit is contained in:
AbstractConcept 2023-01-09 14:21:53 -06:00
parent 279823a390
commit b6d3df800d
76 changed files with 141 additions and 122 deletions

View file

@ -170,8 +170,15 @@ namespace RimWorldAnimationStudio
{
SexTypes = SexTypes.Intersect(DefaultTags.sexTypes.Concat(CustomTags.sexTypes))?.ToList();
InteractionDefTypes = InteractionDefTypes.Intersect(DefaultTags.interactionDefTypes.Concat(CustomTags.interactionDefTypes))?.ToList();
if (SexTypes.NullOrEmpty() && InteractionDefTypes.NullOrEmpty())
{ SexTypes.Add("None"); }
}
public void OnPostLoad() { }
public void OnPostLoad()
{
if (SexTypes.Contains("None"))
{ SexTypes.Remove("None"); }
}
}
}