Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron C Robinson committed Jan 23, 2018
1 parent 13b792a commit f398f3f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Source/ExpandedRoofing/HarmonyPatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,7 @@ public static void RoofLeavings(RoofGrid __instance, IntVec3 c, RoofDef def)
{
RoofExtension roofExt = curRoof.GetModExtension<RoofExtension>();
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<CodeInstruction> TransparentRoofLightingOverlayFix(IEnumerable<CodeInstruction> instructions, ILGenerator il)
Expand Down

0 comments on commit f398f3f

Please sign in to comment.