mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Set shock audio pool
This commit is contained in:
parent
009685329a
commit
e79b82c651
@ -62,7 +62,9 @@ namespace NewHorizons.Builder.Volumes
|
|||||||
}
|
}
|
||||||
else if (info.type == VolumesModule.HazardVolumeInfo.HazardType.ELECTRICITY)
|
else if (info.type == VolumesModule.HazardVolumeInfo.HazardType.ELECTRICITY)
|
||||||
{
|
{
|
||||||
hazardVolume = go.AddComponent<ElectricityVolume>();
|
var electricityVolume = go.AddComponent<ElectricityVolume>();
|
||||||
|
electricityVolume._shockAudioPool = new OWAudioSource[0];
|
||||||
|
hazardVolume = electricityVolume;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user