public void SetDefault(bool value) { if (value) { LaunchSiteManager.setLaunchSite(LaunchSiteManager.GetLaunchSiteByName(siteName)); MiscUtils.HUDMessage(siteName + " has been set as the launchsite", 10, 0); if (EditorDriver.editorFacility == EditorFacility.VAB) { KerbalKonstructs.instance.defaultVABlaunchsite = siteName; } else { KerbalKonstructs.instance.defaultSPHlaunchsite = siteName; } } }
public void LauchVessel() { LaunchSiteManager.setLaunchSite(LaunchSiteManager.GetLaunchSiteByName(siteName)); EditorLogic.fetch.launchVessel(); }