mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
* Add stopsWhenEntityDead to sound components
* Convert component
* Review
* Fix dupe sub
---------
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit da618d791a)
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;
|