From e7f4a9ed3e17cbe1b681b778e2f460909a3f3b9c Mon Sep 17 00:00:00 2001 From: maciek Date: Sun, 20 Apr 2025 13:32:49 +0200 Subject: [PATCH] fix: xml patch now applies correctly --- Patches/SurfaceTypeEat.xml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Patches/SurfaceTypeEat.xml b/Patches/SurfaceTypeEat.xml index e0e0abd..142da58 100644 --- a/Patches/SurfaceTypeEat.xml +++ b/Patches/SurfaceTypeEat.xml @@ -13,14 +13,12 @@ You should have received a copy of the GNU General Public License along with "Ta -
  • - Defs/ThingDef[surfaceType="Eat"]/comps - - Defs/ThingDef[surfaceType="Eat"] - - - - +
  • + Always + Defs/ThingDef[surfaceType="Eat" and not(comps)] + + +
  • Defs/ThingDef[surfaceType="Eat"]/comps/li[compClass="TableToggle.EatableComp"]