mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix color issues by setting innerRadius of shock layer to 0
This commit is contained in:
parent
baf45f7ab5
commit
64c39990ed
@ -157,7 +157,7 @@ namespace NewHorizons.Builder.Body
|
||||
shockLayerRuleset._type = ShockLayerRuleset.ShockType.Radial;
|
||||
shockLayerRuleset._trailLength = 50;
|
||||
shockLayerRuleset._radialCenter = deathVolume.transform;
|
||||
shockLayerRuleset._innerRadius = starModule.size;
|
||||
shockLayerRuleset._innerRadius = 0;
|
||||
shockLayerRuleset._outerRadius = starModule.size * OuterRadiusRatio;
|
||||
if (starModule.tint != null) shockLayerRuleset._color *= starModule.tint.ToColor();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user