From f398f3f61c7a2c6113869f0e8ba79a21fa47029e Mon Sep 17 00:00:00 2001 From: Aaron C Robinson <> Date: Tue, 23 Jan 2018 17:13:38 -0500 Subject: [PATCH] Fix --- Source/ExpandedRoofing/HarmonyPatches.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Source/ExpandedRoofing/HarmonyPatches.cs b/Source/ExpandedRoofing/HarmonyPatches.cs index 1d7bd36..c6891f0 100644 --- a/Source/ExpandedRoofing/HarmonyPatches.cs +++ b/Source/ExpandedRoofing/HarmonyPatches.cs @@ -150,13 +150,7 @@ public static void RoofLeavings(RoofGrid __instance, IntVec3 c, RoofDef def) { RoofExtension roofExt = curRoof.GetModExtension(); if (roofExt != null) TraspileHelper.DoLeavings(curRoof, roofExt.spawnerDef, FI_RoofGrid_map.GetValue(__instance) as Map, GenAdj.OccupiedRect(c, Rot4.North, roofExt.spawnerDef.size)); - - if (curRoof == RoofDefOf.RoofSolar) // removing solar roofing - SolarRoofingTracker.Remove(c); } - - if (def == RoofDefOf.RoofSolar) // adding solar roofing - SolarRoofingTracker.Add(c); } public static IEnumerable TransparentRoofLightingOverlayFix(IEnumerable instructions, ILGenerator il)