mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Update TornadoBuilder.cs
This commit is contained in:
parent
b02da60590
commit
6e5c381cc7
@ -109,7 +109,7 @@ namespace NewHorizons.Builder.Props
|
|||||||
var audioSpreadController = soundGO.GetComponentInChildren<AudioSpreadController>();
|
var audioSpreadController = soundGO.GetComponentInChildren<AudioSpreadController>();
|
||||||
audioSpreadController.SetSector(sector);
|
audioSpreadController.SetSector(sector);
|
||||||
|
|
||||||
var audioSource = audioRail._audioTransform.GetComponent<AudioSource>();
|
var audioSource = audioRail._audioTransform.GetComponent<OWAudioSource>();
|
||||||
audioSource.playOnAwake = true;
|
audioSource.playOnAwake = true;
|
||||||
|
|
||||||
var scale = info.height == 0 ? 1 : info.height / 10f;
|
var scale = info.height == 0 ? 1 : info.height / 10f;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user