Sample docking state through current typed access

This commit is contained in:
Meta Vens 2026-06-29 09:54:19 +01:00
commit ade95ae5b6
8 changed files with 27 additions and 63 deletions

View file

@ -67,7 +67,6 @@ public class InventoryMenu : MonoBehaviour
{
if (!ReferenceEquals(_observedEntityIndex, observedEntityIndex))
{
_observedDockingIndex?.Dispose();
_observedDockingIndex = null;
}
@ -908,7 +907,6 @@ public class InventoryMenu : MonoBehaviour
_playerSettings?.Dispose();
_currentEntity?.Dispose();
_stationRefit?.Dispose();
_observedDockingIndex?.Dispose();
_inventory?.Dispose();
_catalog = null;
_playerSettings = null;