Esempio n. 1
0
 //public void RemoveTopLayer(IntVec3 c, bool doLeavings = true)
 public static void Prefix(TerrainGrid __instance, IntVec3 c, Map ___map)
 {
     CancelAboveBridges.CancelAbove(__instance.TerrainAt(c), DestroyMode.KillFinalize, ___map, c);
 }
Esempio n. 2
0
 //publicpublic override void Destroy(DestroyMode mode = DestroyMode.Vanish)
 public static void Prefix(Frame __instance, DestroyMode mode)
 {
     CancelAboveBridges.CancelAbove(__instance.def.entityDefToBuild, mode, __instance.Map, __instance.Position);
 }