diff --git a/NewHorizons/Builder/Atmosphere/AirBuilder.cs b/NewHorizons/Builder/Atmosphere/AirBuilder.cs index b3cda09b..1c84f220 100644 --- a/NewHorizons/Builder/Atmosphere/AirBuilder.cs +++ b/NewHorizons/Builder/Atmosphere/AirBuilder.cs @@ -46,7 +46,7 @@ namespace NewHorizons.Builder.Atmosphere if (config.Atmosphere.hasOxygen) { - airGO.AddComponent(); + airGO.AddComponent()._treeVolume = config.Atmosphere.hasTrees; } if (config.Atmosphere.hasRain) diff --git a/NewHorizons/External/Modules/AtmosphereModule.cs b/NewHorizons/External/Modules/AtmosphereModule.cs index f75e4bed..3e20630d 100644 --- a/NewHorizons/External/Modules/AtmosphereModule.cs +++ b/NewHorizons/External/Modules/AtmosphereModule.cs @@ -74,6 +74,11 @@ namespace NewHorizons.External.Modules /// public bool hasOxygen; + /// + /// Does this planet have trees? This will change the "Oxygen tank refilled" to "Trees detected, oxygen tank refilled". + /// + public bool hasTrees; + /// /// Does this planet have rain? ///