Example #1
0
 public static void Postfix(Map ___map)
 {
     if (___map == Find.CurrentMap)
     {
         BaseOverlay.SetDirty(typeof(CoverageOverlay));                //because moisture pumps change terrain
     }
 }
Example #2
0
 public static void Postfix(Thing t, Map ___map)
 {
     if (___map == Find.CurrentMap)
     {
         if (CoverageOverlay.activeType != null &&
             GenConstruct.BuiltDefOf(t.def) == CoverageOverlay.activeType.CoverageDef())
         {
             BaseOverlay.SetDirty(typeof(CoverageOverlay));
         }
     }
 }