From de746c2363508e6cfef4190f7804b4dcadd3f7c6 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 13 Jun 2026 20:09:13 +0100 Subject: [PATCH] Fix runtime item reference commit projection --- Assets/Scripts/Gameplay/ActionGameManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Gameplay/ActionGameManager.cs b/Assets/Scripts/Gameplay/ActionGameManager.cs index 4dfd396bf..59d8cbe29 100644 --- a/Assets/Scripts/Gameplay/ActionGameManager.cs +++ b/Assets/Scripts/Gameplay/ActionGameManager.cs @@ -315,7 +315,7 @@ public class ActionGameManager : MonoBehaviour return new AetheriaRuntimeLoadoutItemCommit { - ItemLegacyId = item.Data?.LinkID.ToString("D") ?? "", + ItemLegacyId = item.Data?.ItemId.ToString("D") ?? "", Quality = item is CraftedItemInstance crafted ? crafted.Quality : 1.0, Durability = item is EquippableItem equippable ? equippable.Durability : 1.0, Quantity = item is SimpleCommodity commodity ? commodity.Quantity : 1 @@ -380,7 +380,7 @@ public class ActionGameManager : MonoBehaviour DirectionX = entity.Direction.x, DirectionY = entity.Direction.y, FactionLegacyId = entity.Faction?.ID.ToString("D") ?? "", - HullItemLegacyId = entity.Hull?.Data?.LinkID.ToString("D") ?? "", + HullItemLegacyId = entity.Hull?.Data?.ItemId.ToString("D") ?? "", Equipment = ProjectEquippedSlots(entity.Equipment), CargoBays = ProjectEquippedSlots(entity.CargoBays), DockingBays = ProjectEquippedSlots(entity.DockingBays),