mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Stop propagated signals from having a detection area (#769)
<!-- Be sure to reference the existing issue if it exists --> ## Bug fixes - Fixed an issue where Bramble-propagated signals would have a detection area. [planets.zip](https://github.com/Outer-Wilds-New-Horizons/new-horizons/files/13880774/planets.zip) The attached file puts a bramble node near the Hearthian Village that demonstrates the different behaviors.
This commit is contained in:
commit
029510b509
@ -402,6 +402,11 @@ namespace NewHorizons.Builder.Props
|
||||
signalGO.GetComponent<AudioSignal>()._sourceRadius = 1;
|
||||
signalGO.transform.position = brambleNode.transform.position;
|
||||
signalGO.transform.parent = brambleNode.transform;
|
||||
|
||||
//Don't need the unknown signal detection bits
|
||||
Component.Destroy(signalGO.GetComponent<AudioSignalDetectionTrigger>());
|
||||
Component.Destroy(signalGO.GetComponent<OWTriggerVolume>());
|
||||
Component.Destroy(signalGO.GetComponent<SphereShape>());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user