mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Use config name for bramble nodes (#466)
This commit is contained in:
commit
af9949cd0a
@ -195,7 +195,7 @@ namespace NewHorizons.Builder.Props
|
||||
brambleNode.transform.parent = sector.transform;
|
||||
brambleNode.transform.position = go.transform.TransformPoint(config.position ?? Vector3.zero);
|
||||
brambleNode.transform.rotation = go.transform.TransformRotation(Quaternion.Euler(config.rotation ?? Vector3.zero));
|
||||
brambleNode.name = "Bramble Node to " + config.linksTo;
|
||||
brambleNode.name = config.name ?? "Bramble Node to " + config.linksTo;
|
||||
|
||||
// This node comes with Feldspar's signal, we don't want that though
|
||||
GameObject.Destroy(brambleNode.FindChild("Signal_Harmonica"));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user