mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Changes I requested
This commit is contained in:
parent
fc0dd05cf3
commit
0f38b022f3
@ -2,6 +2,9 @@ using UnityEngine;
|
|||||||
|
|
||||||
namespace NewHorizons.Components.EyeOfTheUniverse
|
namespace NewHorizons.Components.EyeOfTheUniverse
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Class does nothing but is used with GetComponent to find instrument zones in the hierarchy
|
||||||
|
/// </summary>
|
||||||
public class InstrumentZone : MonoBehaviour
|
public class InstrumentZone : MonoBehaviour
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@ -692,9 +692,16 @@ namespace NewHorizons.Handlers
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (body.Config.EyeOfTheUniverse != null)
|
if (body.Config.EyeOfTheUniverse != null)
|
||||||
|
{
|
||||||
|
if (Main.Instance.CurrentStarSystem == "EyeOfTheUniverse")
|
||||||
{
|
{
|
||||||
EyeOfTheUniverseBuilder.Make(go, sector, body.Config.EyeOfTheUniverse, body);
|
EyeOfTheUniverseBuilder.Make(go, sector, body.Config.EyeOfTheUniverse, body);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
NHLogger.LogWarning($"A mod creator (you?) has defined Eye of the Universe specific settings on a body [{body.Config.name}] that is not in the eye of the universe");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (body.Config.ParticleFields != null)
|
if (body.Config.ParticleFields != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user