mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix map camera + printing too much
This commit is contained in:
parent
0aa2c06576
commit
b94d45b6d8
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user