mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
1.24.5 (#994)
## Bug fixes - Resolve error when specifying a dialogue attention point but not an offset for that attention point - Uncomment that TH spawn fix because somehow it was commented out
This commit is contained in:
commit
ad5f72563d
@ -60,7 +60,7 @@ namespace NewHorizons.Builder.General
|
||||
var minPriority = new SpawnModule.PlayerSpawnPoint() { isDefault = true }.GetPriority();
|
||||
if (point.GetPriority() < minPriority)
|
||||
{
|
||||
//flagUseTHSpawn = true;
|
||||
flagUseTHSpawn = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -343,7 +343,7 @@ namespace NewHorizons.Builder.Props
|
||||
{
|
||||
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 @@ namespace NewHorizons.Builder.Props
|
||||
var swapper = ptGo.AddComponent<DialogueAttentionPointSwapper>();
|
||||
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;
|
||||
|
||||
@ -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" ],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user