public static void WriteAll() // called when settings window closes { if (Find.CurrentMap != null) { ActiveCircuitsBase.UpdateAllNets(Find.CurrentMap); } }
public bool ShouldPrint(CompPower comp) { Color color = ActiveCircuitsBase.GetNetColor(comp); return(color == ActiveCircuitsSettings.noPower || color == ActiveCircuitsSettings.nothingConnected || color == ActiveCircuitsSettings.justConduits); }
public override void MapGenerated() { base.MapGenerated(); ActiveCircuitsBase.UpdateAllNets(thisMap); }