Skip to content

Commit cc0b345

Browse files
committed
Make non-verbal langs not play speech
1 parent 975c905 commit cc0b345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Content.Server/Speech/SpeechNoiseSystem.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public override void Initialize()
6060

6161
private void OnEntitySpoke(EntityUid uid, SpeechComponent component, EntitySpokeEvent args)
6262
{
63-
if (component.SpeechSounds == null)
63+
if (component.SpeechSounds == null || !args.Language.SpeechOverride.RequireSpeech)
6464
return;
6565

6666
var currentTime = _gameTiming.CurTime;

0 commit comments

Comments
 (0)