mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Actually do default
This commit is contained in:
parent
7fffa92ff0
commit
41cf405cc1
@ -77,7 +77,7 @@ namespace NewHorizons.Builder.Body
|
||||
if (_singularitiesByID?.Values?.FirstOrDefault() == null) _singularitiesByID = new Dictionary<string, GameObject>();
|
||||
|
||||
var horizonRadius = singularity.horizonRadius;
|
||||
var distortRadius = singularity.distortRadius;
|
||||
var distortRadius = singularity.distortRadius != 0f ? singularity.distortRadius : horizonRadius * 2.5f;
|
||||
var pairedSingularity = singularity.pairedSingularity;
|
||||
|
||||
bool polarity = singularity.type == SingularityModule.SingularityType.BlackHole;
|
||||
|
||||
@ -47,7 +47,7 @@ namespace NewHorizons.External.Modules.VariableSize
|
||||
[Range(0f, double.MaxValue)] public float horizonRadius;
|
||||
|
||||
/// <summary>
|
||||
/// Radius of the distortion effects. Defaults to 2 * horizonRadius
|
||||
/// Radius of the distortion effects. Defaults to 2.5 * horizonRadius
|
||||
/// </summary>
|
||||
[Range(0f, double.MaxValue)] public float distortRadius;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user