From 4981e9d1faff0d16807abc0c500e3469cf8ffbf3 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Mon, 29 Jun 2026 13:07:24 +0100 Subject: [PATCH] Fix typed Unity state compile errors --- Assets/Scripts/UI/Menu/InventoryMenu.cs | 2 +- Assets/Scripts/UI/Menu/InventoryPanel.cs | 2 +- Assets/Scripts/Zone Display/ZoneRenderer.cs | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) 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; } }