private void OnFootGetState(EntityUid uid, FootstepModifierComponent component, ref ComponentGetState args) { args.State = new FootstepModifierComponentState() { Sound = component.Sound, }; }
private void OnFootHandleState(EntityUid uid, FootstepModifierComponent component, ref ComponentHandleState args) { if (args.Current is not FootstepModifierComponentState state) { return; } component.Sound = state.Sound; }