Cuttable speaker wire for vending machines (#23873)
Implement SpeechWireAction
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Speech;
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public enum SpeechWireActionKey : byte
|
||||
{
|
||||
StatusKey,
|
||||
}
|
||||
@@ -19,7 +19,9 @@ namespace Content.Shared.Speech
|
||||
if (component.Enabled == value)
|
||||
return;
|
||||
|
||||
Dirty(component);
|
||||
component.Enabled = value;
|
||||
|
||||
Dirty(uid, component);
|
||||
}
|
||||
|
||||
private void OnSpeakAttempt(SpeakAttemptEvent args)
|
||||
|
||||
Reference in New Issue
Block a user