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:
@@ -36,7 +36,7 @@ public sealed class SurveillanceCameraSpeakerSystem : EntitySystem
|
||||
|
||||
// this part's mostly copied from speech
|
||||
if (time - component.LastSoundPlayed < cd
|
||||
&& TryComp<SharedSpeechComponent>(args.Speaker, out var speech)
|
||||
&& TryComp<SpeechComponent>(args.Speaker, out var speech)
|
||||
&& speech.SpeechSounds != null
|
||||
&& _prototypeManager.TryIndex(speech.SpeechSounds, out SpeechSoundsPrototype? speechProto))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user