mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Update SupernovaEffectBuilder.cs
This commit is contained in:
parent
41ba319e74
commit
be39d64bb4
@ -150,7 +150,7 @@ namespace NewHorizons.Builder.Body
|
|||||||
if (mesh != null)
|
if (mesh != null)
|
||||||
{
|
{
|
||||||
shockLayer.GetComponent<MeshFilter>().sharedMesh = mesh;
|
shockLayer.GetComponent<MeshFilter>().sharedMesh = mesh;
|
||||||
shockLayer.transform.localScale = Vector3.one;
|
shockLayer.transform.localScale = Vector3.one * (config.ShockEffect.radius != null ? config.ShockEffect.radius : 1);
|
||||||
shockLayer.transform.rotation = Quaternion.Euler(0, 0, 0);
|
shockLayer.transform.rotation = Quaternion.Euler(0, 0, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user