using Content.Shared.Humanoid; namespace Content.Shared.Body; public abstract partial class SharedVisualBodySystem { private void InitializeInitial() { SubscribeLocalEvent(OnVisualMapInit, after: [typeof(InitialBodySystem)]); } private void OnVisualMapInit(Entity ent, ref MapInitEvent args) { if (!TryComp(ent, out var humanoidProfile)) return; ApplyAppearanceTo(ent.AsNullable(), HumanoidCharacterAppearance.DefaultWithSpecies(humanoidProfile.Species, humanoidProfile.Sex), humanoidProfile.Sex); } }