save bug fix, change to body anim comp to only apply to pawns fix 2

This commit is contained in:
Tory 2021-07-17 20:03:47 +00:00
parent 68e30b0db8
commit 11352d91cf

View file

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationConditional">
<xpath>/Defs/ThingDef[defName="BasePawn"]/comps</xpath>
<xpath>/Defs/ThingDef/comps</xpath>
<success>Always</success>
<nomatch Class="PatchOperationAdd">
<xpath>/Defs/ThingDef</xpath>
@ -15,7 +15,7 @@
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef/comps</xpath>
<xpath>/Defs/ThingDef[defName="BasePawn"]/comps</xpath>
<value>
<li Class="Rimworld_Animations.CompProperties_BodyAnimator" />
</value>