]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Add Ability to stop sound when MobState is Dead (#26905)
authorGreaseMonk <1354802+GreaseMonk@users.noreply.github.com>
Sun, 14 Apr 2024 03:12:38 +0000 (05:12 +0200)
committerGitHub <noreply@github.com>
Sun, 14 Apr 2024 03:12:38 +0000 (13:12 +1000)
commitda618d791a48efacebe441eee9398c0d1c571ec8
tree23e9130061e40c30bca0cf4ef3d48f67fcda27f4
parentdc19964d84149354bb10fd186283f1a9d7da9cf5
Add Ability to stop sound when MobState is Dead (#26905)

* Add stopsWhenEntityDead to sound components

* Convert component

* Review

* Fix dupe sub

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Content.Server/Audio/AmbientSoundSystem.cs
Content.Server/Sound/EmitSoundSystem.cs
Content.Shared/Audio/SharedAmbientSoundSystem.cs
Content.Shared/Audio/SoundWhileAliveComponent.cs [new file with mode: 0644]
Content.Shared/Sound/SharedEmitSoundSystem.cs