Merge vessel spawn flags

This commit is contained in:
Joshua Thome 2023-03-21 12:50:51 -05:00
parent 357b4463f0
commit 7fe2f80b06

View File

@ -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);