diff --git a/NewHorizons/Components/NHSupernovaPlanetEffectController.cs b/NewHorizons/Components/NHSupernovaPlanetEffectController.cs index c2c8b48d..b6c9fa3d 100644 --- a/NewHorizons/Components/NHSupernovaPlanetEffectController.cs +++ b/NewHorizons/Components/NHSupernovaPlanetEffectController.cs @@ -190,6 +190,12 @@ namespace NewHorizons.Components else { if (_shockLayer != null) _shockLayer.enabled = false; + + if (_ambientLight != null) _ambientLight.intensity = _ambientLightOrigIntensity; + + if (_fog != null) _fog.fogTint = _fogOrigTint; + + if (_fogImpostor != null) _fogImpostor.material.SetColor(s_propID_Tint, _fogOrigTint); } } } diff --git a/NewHorizons/Components/StellarRemnantController.cs b/NewHorizons/Components/StellarRemnantController.cs index 39a9e24f..1236c85c 100644 --- a/NewHorizons/Components/StellarRemnantController.cs +++ b/NewHorizons/Components/StellarRemnantController.cs @@ -50,6 +50,7 @@ namespace NewHorizons.Components gravityVolume._upperSurfaceRadius = _surfaceSize; gravityVolume._surfaceAcceleration = _surfaceGravity; } + var referenceFrameVolume = this.GetAttachedOWRigidbody()._attachedRFVolume; if (referenceFrameVolume != null) {