From 46d6b3bf47f307ecbb19dd219122fe72002bb706 Mon Sep 17 00:00:00 2001 From: waryperry <waryperry@tutamail.com> Date: Sat, 12 Oct 2024 11:04:46 +0200 Subject: [PATCH] Accent correction for mute slaves --- src/npc/descriptions/accent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/npc/descriptions/accent.js b/src/npc/descriptions/accent.js index 123b20126a0..f962e0061f1 100644 --- a/src/npc/descriptions/accent.js +++ b/src/npc/descriptions/accent.js @@ -8,7 +8,7 @@ App.Desc.accent = function(slave) { him, He } = getPronouns(slave); let accent; - if (slave.accent !== 0) { + if (slave.voice > 0 && slave.accent !== 0) { if (slave.accent === 1) { accent = either("a beautiful", "a distinctive", "an intriguing", "a light", "a lovely", "a mild", "a pleasant", "a rich", "a slight", "a smooth"); r.push(`${He} speaks ${V.language} in ${accent}`); -- GitLab