From 0cecf29799b6462d7ab9b4bcbcf18cf6ae5eea40 Mon Sep 17 00:00:00 2001 From: Nick Date: Sun, 22 Jan 2023 15:07:07 -0500 Subject: [PATCH] Update TitleSceneHandler.cs --- NewHorizons/Handlers/TitleSceneHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NewHorizons/Handlers/TitleSceneHandler.cs b/NewHorizons/Handlers/TitleSceneHandler.cs index 783013b0..45e515e4 100644 --- a/NewHorizons/Handlers/TitleSceneHandler.cs +++ b/NewHorizons/Handlers/TitleSceneHandler.cs @@ -83,7 +83,7 @@ namespace NewHorizons.Handlers if (body.Config.HeightMap != null) { HeightMapBuilder.Make(titleScreenGO, null, body.Config.HeightMap, body.Mod, 30); - maxSize = body.Config.HeightMap.maxHeight; + maxSize = Mathf.Max(maxSize, body.Config.HeightMap.maxHeight, body.Config.HeightMap.minHeight); } if (body.Config.Atmosphere?.clouds?.texturePath != null && body.Config.Atmosphere?.clouds?.cloudsPrefab != CloudPrefabType.Transparent) {