Added check by bodydef in actors

This commit is contained in:
Platinum 2020-07-07 14:54:59 -07:00
parent 993f730191
commit feb7e8a557
5 changed files with 8 additions and 2 deletions

View file

@ -56,7 +56,8 @@ namespace Rimworld_Animations {
return false;
}
} else {
}
else if (!x.actors[i].bodyDefTypes.Contains(localParticipants[i].RaceProps.body)) {
if (!x.actors[i].defNames.Contains(localParticipants[i].def.defName)) {