/*Delete Cosntruction Site once it's been confirmed, or no confirmation was necessary */ public static void DeleteConstructionSiteConfirmed(RoadConstructionSite ConstructionSite) { if (ConstructionSite.helpFromFaction != null) { RoadsOfTheRim.factionsHelp.helpFinished(ConstructionSite.helpFromFaction); } RoadConstructionSite.DeleteSite(ConstructionSite); }
/*Delete Cosntruction Site once it's been confirmed, or no confirmation was necessary */ private static void DeleteConstructionSiteConfirmed(RoadConstructionSite ConstructionSite) { if (ConstructionSite.helpFromFaction != null) { FactionsHelp.HelpFinished(ConstructionSite.helpFromFaction); } RoadConstructionSite.DeleteSite(ConstructionSite); }
public static void FinaliseConstructionSite(RoadConstructionSite site) { if (site.GetNextLeg() != null) { site.GetComponent <WorldObjectComp_ConstructionSite>().SetCosts(); RoadBuildingState.Caravan.GetComponent <WorldObjectComp_Caravan>().StartWorking(); } else { RoadConstructionSite.DeleteSite(site); } }