use manual component state for BaseEmitSoundComponent (#35030)
* why * cursed
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
||||
|
||||
namespace Content.Shared.Sound.Components;
|
||||
|
||||
@@ -12,7 +13,7 @@ public sealed partial class SpamEmitSoundComponent : BaseEmitSoundComponent
|
||||
/// <summary>
|
||||
/// The time at which the next sound will play.
|
||||
/// </summary>
|
||||
[DataField, AutoPausedField, AutoNetworkedField]
|
||||
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer)), AutoPausedField, AutoNetworkedField]
|
||||
public TimeSpan NextSound;
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user