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._radialCenter = airGO.transform;
|
||||||
shockLayerRuleset._minShockSpeed = config.Atmosphere.minShockSpeed;
|
shockLayerRuleset._minShockSpeed = config.Atmosphere.minShockSpeed;
|
||||||
shockLayerRuleset._maxShockSpeed = config.Atmosphere.maxShockSpeed;
|
shockLayerRuleset._maxShockSpeed = config.Atmosphere.maxShockSpeed;
|
||||||
}
|
|
||||||
|
|
||||||
if (config.Atmosphere.clouds != null)
|
if (config.Atmosphere.clouds != null)
|
||||||
{
|
{
|
||||||
shockLayerRuleset._innerRadius = config.Atmosphere.clouds.innerCloudRadius;
|
shockLayerRuleset._innerRadius = config.Atmosphere.clouds.innerCloudRadius;
|
||||||
shockLayerRuleset._outerRadius = config.Atmosphere.clouds.outerCloudRadius;
|
shockLayerRuleset._outerRadius = config.Atmosphere.clouds.outerCloudRadius;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var bottom = config.Base.surfaceSize;
|
var bottom = config.Base.surfaceSize;
|
||||||
var top = config.Atmosphere.size;
|
var top = config.Atmosphere.size;
|
||||||
|
|
||||||
shockLayerRuleset._innerRadius = (bottom + top) / 2f;
|
shockLayerRuleset._innerRadius = (bottom + top) / 2f;
|
||||||
shockLayerRuleset._outerRadius = top;
|
shockLayerRuleset._outerRadius = top;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.Atmosphere.hasOxygen)
|
if (config.Atmosphere.hasOxygen)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user