Gate trade menu through observed dock state
This commit is contained in:
parent
80c8ddd87c
commit
520454bbdf
2 changed files with 4 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ public class TradeMenu : MonoBehaviour
|
|||
|
||||
private void OnEnable()
|
||||
{
|
||||
if (GameManager.DockedEntity == null) return;
|
||||
if (!GameManager.IsObservedDocked) return;
|
||||
_targetCargo = GameManager.DockingBay;
|
||||
TargetCargoLabel.text = "Docking Bay";
|
||||
HideCargoSelectorSurface();
|
||||
|
|
|
|||
Loading…
Reference in a new issue