use manual component state for BaseEmitSoundComponent (#35030)
* why * cursed
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Content.Shared.Sound.Components;
|
||||
/// <summary>
|
||||
/// Simple sound emitter that emits sound on UseInHand
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed partial class EmitSoundOnUseComponent : BaseEmitSoundComponent
|
||||
{
|
||||
/// <summary>
|
||||
@@ -17,6 +17,6 @@ public sealed partial class EmitSoundOnUseComponent : BaseEmitSoundComponent
|
||||
/// otherwise this might enable sound spamming, as use-delays are only initiated if the interaction was
|
||||
/// handled.
|
||||
/// </remarks>
|
||||
[DataField("handle")]
|
||||
[DataField]
|
||||
public bool Handle = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user