mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Forgot to move this
This commit is contained in:
parent
94a304ffb5
commit
66a08c7468
@ -34,20 +34,20 @@ namespace NewHorizons.Builder.Atmosphere
|
||||
shockLayerRuleset._radialCenter = airGO.transform;
|
||||
shockLayerRuleset._minShockSpeed = config.Atmosphere.minShockSpeed;
|
||||
shockLayerRuleset._maxShockSpeed = config.Atmosphere.maxShockSpeed;
|
||||
}
|
||||
|
||||
if (config.Atmosphere.clouds != null)
|
||||
{
|
||||
shockLayerRuleset._innerRadius = config.Atmosphere.clouds.innerCloudRadius;
|
||||
shockLayerRuleset._outerRadius = config.Atmosphere.clouds.outerCloudRadius;
|
||||
}
|
||||
else
|
||||
{
|
||||
var bottom = config.Base.surfaceSize;
|
||||
var top = config.Atmosphere.size;
|
||||
if (config.Atmosphere.clouds != null)
|
||||
{
|
||||
shockLayerRuleset._innerRadius = config.Atmosphere.clouds.innerCloudRadius;
|
||||
shockLayerRuleset._outerRadius = config.Atmosphere.clouds.outerCloudRadius;
|
||||
}
|
||||
else
|
||||
{
|
||||
var bottom = config.Base.surfaceSize;
|
||||
var top = config.Atmosphere.size;
|
||||
|
||||
shockLayerRuleset._innerRadius = (bottom + top) / 2f;
|
||||
shockLayerRuleset._outerRadius = top;
|
||||
shockLayerRuleset._innerRadius = (bottom + top) / 2f;
|
||||
shockLayerRuleset._outerRadius = top;
|
||||
}
|
||||
}
|
||||
|
||||
if (config.Atmosphere.hasOxygen)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user