Skip to content

Commit

Permalink
probably fix errors when other mods define TendPatient.suspendable = …
Browse files Browse the repository at this point in the history
…false
  • Loading branch information
alextd committed Apr 18, 2024
1 parent b39a9f1 commit 5fab0dd
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Patches/SmartMedicinePatches.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationInsert">
<xpath>Defs/JobDef[defName="TendPatient"]/defName</xpath>
<value>
<suspendable>false</suspendable>
</value>
<Operation Class="PatchOperationConditional">
<xpath>Defs/JobDef[defName="TendPatient"]/suspendable</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/JobDef[defName="TendPatient"]</xpath>
<value>
<suspendable>false</suspendable>
</value>
</nomatch>
</Operation>
</Patch>

0 comments on commit 5fab0dd

Please sign in to comment.