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> <Patch>
<Operation Class="PatchOperationSequence"> <Operation Class="PatchOperationSequence">
<success>Always</success> <success>Always</success>
<operations> <operations>
<li Class="PatchOperationConditional"> <li Class="PatchOperationConditional">
<xpath>/Defs/ThingDef[defName="BasePawn"]/comps</xpath> <xpath>/Defs/ThingDef/comps</xpath>
<success>Always</success> <success>Always</success>
<nomatch Class="PatchOperationAdd"> <nomatch Class="PatchOperationAdd">
<xpath>/Defs/ThingDef</xpath> <xpath>/Defs/ThingDef</xpath>
@ -15,7 +15,7 @@
</li> </li>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef/comps</xpath> <xpath>/Defs/ThingDef[defName="BasePawn"]/comps</xpath>
<value> <value>
<li Class="Rimworld_Animations.CompProperties_BodyAnimator" /> <li Class="Rimworld_Animations.CompProperties_BodyAnimator" />
</value> </value>