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