public static void Postfix(Designator_Install __instance) { if (__instance.PlacingDef is ThingDef thingDef && thingDef.EverTransmitsGas()) { SectionLayer_GasNetwork.DrawGasGridOverlayThisFrame(); } }
public static void Postfix(BuildableDef ___entDef) { if (___entDef is ThingDef thingDef && thingDef.EverTransmitsGas()) { SectionLayer_GasNetwork.DrawGasGridOverlayThisFrame(); } }
public override void SelectedUpdate() { base.SelectedUpdate(); SectionLayer_GasNetwork.DrawGasGridOverlayThisFrame(); }