add it back and make it used

This commit is contained in:
JohnCorby 2023-03-23 17:31:10 -07:00
parent 9fdeea8e98
commit 6a97137cef
2 changed files with 7 additions and 0 deletions

View File

@ -113,6 +113,8 @@ namespace NewHorizons.Builder.Props
transmitter._alignmentWindow = info.alignmentWindow;
transmitter._upsideDown = info.flipAlignment;
transmitter.GetComponent<BoxShape>().enabled = true;
transmitterObject.SetActive(true);

View File

@ -10,5 +10,10 @@ namespace NewHorizons.External.Modules.WarpPad
/// In degrees. Gives a margin of error for alignments.
/// </summary>
[DefaultValue(5f)] public float alignmentWindow = 5f;
/// <summary>
/// This makes the alignment happen if the destination planet is BELOW you rather than above.
/// </summary>
public bool flipAlignment;
}
}