From 7fe2f80b06de4f3eb57efd2d23e3a4adc7fe5729 Mon Sep 17 00:00:00 2001 From: Joshua Thome Date: Tue, 21 Mar 2023 12:50:51 -0500 Subject: [PATCH] Merge vessel spawn flags --- NewHorizons/External/Configs/StarSystemConfig.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NewHorizons/External/Configs/StarSystemConfig.cs b/NewHorizons/External/Configs/StarSystemConfig.cs index 1af57973..00281a49 100644 --- a/NewHorizons/External/Configs/StarSystemConfig.cs +++ b/NewHorizons/External/Configs/StarSystemConfig.cs @@ -271,6 +271,11 @@ namespace NewHorizons.External.Configs startHere = startHere || otherConfig.startHere; Vessel = Vessel == null ? otherConfig.Vessel : Vessel; + if (Vessel != null) + { + Vessel.spawnOnVessel = Vessel.spawnOnVessel || otherConfig.Vessel.spawnOnVessel; + Vessel.alwaysPresent = Vessel.alwaysPresent || otherConfig.Vessel.alwaysPresent; + } entryPositions = Concatenate(entryPositions, otherConfig.entryPositions); curiosities = Concatenate(curiosities, otherConfig.curiosities);