Star fog size hotfix

This commit is contained in:
Nick J. Connors 2021-12-27 02:30:11 -05:00
parent 4f5159828b
commit 02510f3820
3 changed files with 3 additions and 2 deletions

View File

@ -81,6 +81,7 @@ namespace NewHorizons.Builder.Body
//GameObject.Destroy(sunLight.GetComponent<SunLightParamUpdater>()); //GameObject.Destroy(sunLight.GetComponent<SunLightParamUpdater>());
//GameObject.Destroy(sunLightController); //GameObject.Destroy(sunLightController);
fog.fogRadius = starModule.Size * 1.2f;
if(starModule.Tint != null) if(starModule.Tint != null)
{ {
var colour = starModule.Tint.ToColor32(); var colour = starModule.Tint.ToColor32();

View File

@ -16,7 +16,7 @@ namespace NewHorizons.Builder.Props
private OWRigidbody _raftBody; private OWRigidbody _raftBody;
private Sector _sector; private Sector _sector;
private GameObject parentBody; private GameObject parentBody;
private GravityVolume gravityVolume; //private GravityVolume gravityVolume;
public float BuoyancyModifier = 5f; public float BuoyancyModifier = 5f;

View File

@ -3,6 +3,6 @@
"author": "xen", "author": "xen",
"name": "New Horizons", "name": "New Horizons",
"uniqueName": "xen.NewHorizons", "uniqueName": "xen.NewHorizons",
"version": "0.1.3", "version": "0.1.5",
"owmlVersion": "2.1.0" "owmlVersion": "2.1.0"
} }