diff --git a/NewHorizons/Main.cs b/NewHorizons/Main.cs index 08c7c45e..aeacc748 100644 --- a/NewHorizons/Main.cs +++ b/NewHorizons/Main.cs @@ -381,6 +381,14 @@ namespace NewHorizons remoteViewer._visualSector = northPoleSurface; } + //Stop starfield from disappearing when there is no lights + var playerBody = SearchUtilities.Find("Player_Body"); + var playerLight = playerBody.AddComponent(); + playerLight.innerSpotAngle = 0; + playerLight.spotAngle = 179; + playerLight.range = 0.5f; + playerLight.intensity = 0.001f; + try { Logger.Log($"Star system finished loading [{Instance.CurrentStarSystem}]");