diff --git a/NewHorizons/Components/MaterialReplacer.cs b/NewHorizons/Components/MaterialReplacer.cs index 64b383c1..f402fd81 100644 --- a/NewHorizons/Components/MaterialReplacer.cs +++ b/NewHorizons/Components/MaterialReplacer.cs @@ -30,6 +30,13 @@ namespace NewHorizons.Components nnc._inactiveMaterial = materials[0]; nnc._activeMaterial = materials[1]; } + + NomaiLamp nl = GetComponentInParent(); + if (nl != null) + { + nl.enabled = true; + nl.Awake(); + } } } } diff --git a/NewHorizons/Handlers/VesselWarpHandler.cs b/NewHorizons/Handlers/VesselWarpHandler.cs index 1cb3092b..e19e26c8 100644 --- a/NewHorizons/Handlers/VesselWarpHandler.cs +++ b/NewHorizons/Handlers/VesselWarpHandler.cs @@ -275,6 +275,15 @@ namespace NewHorizons.Handlers } } } + else + { + foreach (NomaiLamp lamp in vesselWarpController.transform.root.GetComponentsInChildren(true)) + { + lamp._startOn = true; + lamp.Awake(); + } + } + vesselWarpController.OnSlotDeactivated(vesselWarpController._coordinatePowerSlot); if (!db) vesselWarpController.OnSlotActivated(vesselWarpController._coordinatePowerSlot); vesselWarpController._gravityVolume.SetFieldMagnitude(vesselWarpController._origGravityMagnitude);