* #3935 - toys properly play sounds when: Activated, Landed (after throwing) and Used in hand * #3935 - extracted BaseEmitSoundComponent * #3935 - refactored EmitSound components to use ECS * #3935 - added new components to client ignored components * #3935 - added suggested stuff for EmitSoundSystem et al. * #3935 added suggestions from PR * #3935 implemented suggestions from PR * #3935 updated namespace
This commit is contained in:
14
Content.Server/Sound/EmitSoundOnActivateComponent.cs
Normal file
14
Content.Server/Sound/EmitSoundOnActivateComponent.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Server.Sound
|
||||
{
|
||||
/// <summary>
|
||||
/// Simple sound emitter that emits sound on ActivateInWorld
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public class EmitSoundOnActivateComponent : BaseEmitSoundComponent
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override string Name => "EmitSoundOnActivate";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user