Delete dormant legacy audio DTO reads

This commit is contained in:
Meta Vens 2026-06-14 18:09:57 +01:00
commit 6df3cd0ede
5 changed files with 3 additions and 17 deletions

View file

@ -264,15 +264,6 @@ public class EntityInstance : MonoBehaviour
}
}
var hp = Entity.Hardpoints[item.Position.x, item.Position.y];
if (hp != null && item.Data.SoundBank != 0)
{
var hardpointTransform = EquipmentHardpoints.FirstOrDefault(x => x.name == hp.Transform);
if (hardpointTransform != null)
{
var hardpointGameObject = hardpointTransform.gameObject;
}
}
}
RadiatorMeshes = new Dictionary<Radiator, MeshRenderer>();
Barrels = new Dictionary<HardpointData, Transform[]>();