Add SignalSwitch sound (#9013)

This commit is contained in:
Morber
2022-06-22 03:51:42 +03:00
committed by GitHub
parent 78c9203975
commit d958ababb9
4 changed files with 12 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
using Content.Shared.MachineLinking;
using Content.Shared.Sound;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.MachineLinking.Components
@@ -24,5 +25,8 @@ namespace Content.Server.MachineLinking.Components
[DataField("state")]
public bool State;
[DataField("clickSound")]
public SoundSpecifier ClickSound { get; set; } = new SoundPathSpecifier("/Audio/Machines/lightswitch.ogg");
}
}