diff --git a/Assets/Scripts/UI/Menu/InventoryMenu.cs b/Assets/Scripts/UI/Menu/InventoryMenu.cs index 3c87ce344..1967048f4 100644 --- a/Assets/Scripts/UI/Menu/InventoryMenu.cs +++ b/Assets/Scripts/UI/Menu/InventoryMenu.cs @@ -737,7 +737,7 @@ public class InventoryMenu : MonoBehaviour _observedEntityIndex.TryResolveEntityByRecordKey(currentEntityKey, out currentEntity); } - private bool TryResolveCurrentDockingBay(out EquippedCargoBay dockingBay) + private bool TryResolveCurrentDockingBay(out EquippedDockingBay dockingBay) { dockingBay = null; var refit = StationRefitSnapshot(); diff --git a/Assets/Scripts/UI/Menu/InventoryPanel.cs b/Assets/Scripts/UI/Menu/InventoryPanel.cs index 08057eb67..a7e57720a 100644 --- a/Assets/Scripts/UI/Menu/InventoryPanel.cs +++ b/Assets/Scripts/UI/Menu/InventoryPanel.cs @@ -1130,7 +1130,7 @@ private void Update() return dockingBay != null; } - private bool TryResolveCurrentDockingBay(out EquippedCargoBay dockingBay) + private bool TryResolveCurrentDockingBay(out EquippedDockingBay dockingBay) { dockingBay = null; var refit = StationRefitSnapshot(); diff --git a/Assets/Scripts/Zone Display/ZoneRenderer.cs b/Assets/Scripts/Zone Display/ZoneRenderer.cs index d8d7e8a96..af449a8ed 100644 --- a/Assets/Scripts/Zone Display/ZoneRenderer.cs +++ b/Assets/Scripts/Zone Display/ZoneRenderer.cs @@ -167,8 +167,7 @@ public class ZoneRenderer : MonoBehaviour foreach (var camera in MinimapCameras ?? Array.Empty()) if (camera != null) camera.orthographicSize = value; - if (RenderSettings != null) - SetIconSize((float)RenderSettings.ResolveMinimapIconSize(value)); + SetIconSize((float)RenderSettings.ResolveMinimapIconSize(value)); // MinimapGravityQuad.transform.localScale = value * 2 * Vector3.one; } }