* Add stopsWhenEntityDead to sound components * Convert component * Review * Fix dupe sub --------- Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
11 lines
377 B
C#
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;
|