Cleanup speech and emoting comps (#13194)
Networks speech and removes the shared prefix from emoting. I have no idea if emoting is even being used or plan to be used in the interim.
This commit is contained in:
@@ -19,10 +19,10 @@ namespace Content.Server.Speech
|
||||
{
|
||||
base.Initialize();
|
||||
|
||||
SubscribeLocalEvent<SharedSpeechComponent, EntitySpokeEvent>(OnEntitySpoke);
|
||||
SubscribeLocalEvent<SpeechComponent, EntitySpokeEvent>(OnEntitySpoke);
|
||||
}
|
||||
|
||||
private void OnEntitySpoke(EntityUid uid, SharedSpeechComponent component, EntitySpokeEvent args)
|
||||
private void OnEntitySpoke(EntityUid uid, SpeechComponent component, EntitySpokeEvent args)
|
||||
{
|
||||
if (component.SpeechSounds == null) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user