diff --git a/NewHorizons/Builder/Body/WaterBuilder.cs b/NewHorizons/Builder/Body/WaterBuilder.cs index cab3af31..220fc553 100644 --- a/NewHorizons/Builder/Body/WaterBuilder.cs +++ b/NewHorizons/Builder/Body/WaterBuilder.cs @@ -3,6 +3,7 @@ using NewHorizons.Components.SizeControllers; using NewHorizons.Utility; using UnityEngine; using NewHorizons.External.Modules.VariableSize; +using Tessellation; namespace NewHorizons.Builder.Body { @@ -21,7 +22,7 @@ namespace NewHorizons.Builder.Body var GDTSR = GameObject.Find("Ocean_GD").GetComponent(); TessellatedSphereRenderer TSR = waterGO.AddComponent(); - TSR.tessellationMeshGroup = new Tessellation.MeshGroup(); + TSR.tessellationMeshGroup = ScriptableObject.CreateInstance(); for (int i = 0; i < 16; i++) { var mesh = new Mesh(); @@ -72,7 +73,7 @@ namespace NewHorizons.Builder.Body fluidVolume._attachedBody = rb; fluidVolume._triggerVolume = buoyancyTriggerVolume; fluidVolume._radius = waterSize; - fluidVolume._layer = LayerMask.NameToLayer("BassicEffectVolume"); + fluidVolume._layer = LayerMask.NameToLayer("BasicEffectVolume"); var fogGO = GameObject.Instantiate(GameObject.Find("GiantsDeep_Body/Sector_GD/Sector_GDInterior/Effects_GDInterior/OceanFog"), waterGO.transform); fogGO.name = "OceanFog"; diff --git a/NewHorizons/NewHorizons.csproj b/NewHorizons/NewHorizons.csproj index 1a39fc2a..981e2526 100644 --- a/NewHorizons/NewHorizons.csproj +++ b/NewHorizons/NewHorizons.csproj @@ -17,8 +17,8 @@ - - + + diff --git a/NewHorizons/manifest.json b/NewHorizons/manifest.json index 29df9779..41418fe3 100644 --- a/NewHorizons/manifest.json +++ b/NewHorizons/manifest.json @@ -4,7 +4,7 @@ "name": "New Horizons", "uniqueName": "xen.NewHorizons", "version": "1.1.0", - "owmlVersion": "2.1.0", + "owmlVersion": "2.3.3", "conflicts": [ "Raicuparta.QuantumSpaceBuddies", "Vesper.AutoResume", "PacificEngine.OW_Randomizer" ], "pathsToPreserve": [ "planets", "systems", "translations" ] }