using Content.Client.Light.Components; namespace Content.Client.Light.EntitySystems; public sealed class ExpendableLightSystem : EntitySystem { public override void Initialize() { base.Initialize(); SubscribeLocalEvent(OnLightShutdown); } private void OnLightShutdown(EntityUid uid, ExpendableLightComponent component, ComponentShutdown args) { component.PlayingStream?.Stop(); } }