diff --git a/NewHorizons/External/Modules/AsteroidBeltModule.cs b/NewHorizons/External/Modules/AsteroidBeltModule.cs index b6ac9111..d042a9fc 100644 --- a/NewHorizons/External/Modules/AsteroidBeltModule.cs +++ b/NewHorizons/External/Modules/AsteroidBeltModule.cs @@ -20,7 +20,7 @@ namespace NewHorizons.External.Modules /// /// Lowest distance from the planet asteroids can spawn /// - [Range(0f, float.MaxValue)] public float innerRadius; + [Range(0f, double.MaxValue)] public float innerRadius; /// /// Angle defining the point where the belt rises up from the planet's equatorial plane if inclination is nonzero. @@ -30,19 +30,19 @@ namespace NewHorizons.External.Modules /// /// Maximum size of the asteroids. /// - [Range(0f, float.MaxValue)] [DefaultValue(50)] + [Range(0f, double.MaxValue)] [DefaultValue(50)] public float maxSize = 50f; /// /// Minimum size of the asteroids. /// - [Range(0f, float.MaxValue)] [DefaultValue(20)] + [Range(0f, double.MaxValue)] [DefaultValue(20)] public float minSize = 20; /// /// Greatest distance from the planet asteroids can spawn /// - [Range(0f, float.MaxValue)] public float outerRadius; + [Range(0f, double.MaxValue)] public float outerRadius; /// /// How the asteroids are generated, unless you supply a detail yourself using "assetBundle" and "path" @@ -69,7 +69,7 @@ namespace NewHorizons.External.Modules /// /// Surface gravity of the asteroids. /// - [Range(0f, float.MaxValue)] + [Range(0f, double.MaxValue)] [DefaultValue(1)] public float gravity = 1f;