public static void Postfix(PowerNetManager __instance) { if (Find.CurrentMap == __instance.map && (OverlayDrawHandler.ShouldDrawPowerGrid || ActiveCircuitsSettings.displayBadOnMain) && GenTicks.TicksAbs % 149 == 0) { ActiveCircuitsBase.UpdateAllNets(__instance.map); } }
public static void Postfix() { ActiveCircuitsBase.UpdateAllNets(Find.CurrentMap); }