Gate trade menu through observed dock state

This commit is contained in:
Meta Vens 2026-06-21 19:12:45 +01:00
commit 520454bbdf
2 changed files with 4 additions and 2 deletions

View file

@ -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();