mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
v1.0.2
- 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:
parent
279823a390
commit
b6d3df800d
76 changed files with 141 additions and 122 deletions
|
@ -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"); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue