6
StarHorizon_Public/Content.Shared/Audio/SoundWhileAliveComponent.cs
2025-08-13 15:03:01 +03:00

11 lines
377 B
C#

using Content.Shared.Sound.Components;
using Robust.Shared.GameStates;
namespace Content.Shared.Audio;
/// <summary>
/// Toggles <see cref="AmbientSoundComponent"/> and <see cref="SpamEmitSoundComponent"/> off when this entity's MobState isn't Alive.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class SoundWhileAliveComponent : Component;