Fix map camera + printing too much

This commit is contained in:
Nick J. Connors 2022-01-02 01:42:43 -05:00
parent 0aa2c06576
commit b94d45b6d8
2 changed files with 1 additions and 2 deletions

View File

@ -190,8 +190,6 @@ namespace NewHorizons
catch (Exception e)
{
existingPlanet = GameObject.Find(body.Config.Name.Replace(" ", "") + "_Body");
if(existingPlanet == null) Logger.LogWarning($"Error when looking for {body.Config.Name}: {e.Message}, {e.StackTrace}");
}
if (existingPlanet != null)

View File

@ -71,6 +71,7 @@ namespace NewHorizons.Utility
____maxZoomDistance *= 6f;
____minPitchAngle = -90f;
____zoomSpeed *= 4f;
__instance._mapCamera.farClipPlane = Main.FurthestOrbit * 3f;
}
public static void OnOWCameraAwake(OWCamera __instance)