mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix Outsider/Codec signal incompat
This commit is contained in:
parent
61b8bb883e
commit
c844bafac3
@ -171,7 +171,15 @@ namespace NewHorizons.Builder.Props.Audio
|
||||
audioSignal._onlyAudibleToScope = info.onlyAudibleToScope;
|
||||
audioSignal._identificationDistance = info.identificationRadius;
|
||||
audioSignal._canBePickedUpByScope = true;
|
||||
// The outsider adds outer fog warp volumes to Bramble which break any signals NH places there
|
||||
if (Main.Instance.ModHelper.Interaction.ModExists("SBtT.TheOutsider") && planetGO.GetComponent<AstroObject>()._name == AstroObject.Name.DarkBramble)
|
||||
{
|
||||
audioSignal._outerFogWarpVolume = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
audioSignal._outerFogWarpVolume = planetGO.GetComponentInChildren<OuterFogWarpVolume>(); // shouldn't break non-bramble signals
|
||||
}
|
||||
|
||||
// If it can be heard regularly then we play it immediately
|
||||
owAudioSource.playOnAwake = !info.onlyAudibleToScope;
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
"author": "xen, Bwc9876, JohnCorby, MegaPiggy, Trifid, and friends",
|
||||
"name": "New Horizons",
|
||||
"uniqueName": "xen.NewHorizons",
|
||||
"version": "1.23.2",
|
||||
"version": "1.23.3",
|
||||
"owmlVersion": "2.12.1",
|
||||
"dependencies": [ "JohnCorby.VanillaFix", "xen.CommonCameraUtility", "dgarro.CustomShipLogModes" ],
|
||||
"conflicts": [ "PacificEngine.OW_CommonResources" ],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user