diff --git a/NewHorizons/Builder/General/SpawnPointBuilder.cs b/NewHorizons/Builder/General/SpawnPointBuilder.cs index fd5b376a8..a38802b6d 100644 --- a/NewHorizons/Builder/General/SpawnPointBuilder.cs +++ b/NewHorizons/Builder/General/SpawnPointBuilder.cs @@ -60,7 +60,7 @@ public static SpawnPoint Make(GameObject planetGO, SpawnModule module, OWRigidbo var minPriority = new SpawnModule.PlayerSpawnPoint() { isDefault = true }.GetPriority(); if (point.GetPriority() < minPriority) { - //flagUseTHSpawn = true; + flagUseTHSpawn = true; } } diff --git a/NewHorizons/Builder/Props/DialogueBuilder.cs b/NewHorizons/Builder/Props/DialogueBuilder.cs index 1459230ff..8bd12c86c 100644 --- a/NewHorizons/Builder/Props/DialogueBuilder.cs +++ b/NewHorizons/Builder/Props/DialogueBuilder.cs @@ -343,7 +343,7 @@ private static void MakeAttentionPoints(GameObject go, Sector sector, CharacterD { var ptGo = GeneralPropBuilder.MakeNew("AttentionPoint", go, sector, info.attentionPoint, defaultParent: dialogue.transform); dialogue._attentionPoint = ptGo.transform; - dialogue._attentionPointOffset = info.attentionPoint.offset; + dialogue._attentionPointOffset = info.attentionPoint.offset ?? Vector3.zero; ptGo.SetActive(true); } if (info.swappedAttentionPoints != null && info.swappedAttentionPoints.Length > 0) @@ -354,7 +354,7 @@ private static void MakeAttentionPoints(GameObject go, Sector sector, CharacterD var swapper = ptGo.AddComponent(); swapper._dialogueTree = dialogue; swapper._attentionPoint = ptGo.transform; - swapper._attentionPointOffset = pointInfo.offset; + swapper._attentionPointOffset = pointInfo.offset ?? Vector3.zero; swapper._nodeName = pointInfo.dialogueNode; swapper._dialoguePage = pointInfo.dialoguePage; swapper._lookEasing = pointInfo.lookEasing; diff --git a/NewHorizons/manifest.json b/NewHorizons/manifest.json index 1da382986..36d3e14c1 100644 --- a/NewHorizons/manifest.json +++ b/NewHorizons/manifest.json @@ -4,7 +4,7 @@ "author": "xen, Bwc9876, JohnCorby, MegaPiggy, Trifid, and friends", "name": "New Horizons", "uniqueName": "xen.NewHorizons", - "version": "1.24.4", + "version": "1.24.5", "owmlVersion": "2.12.1", "dependencies": [ "JohnCorby.VanillaFix", "xen.CommonCameraUtility", "dgarro.CustomShipLogModes" ], "conflicts": [ "PacificEngine.OW_CommonResources" ],