From d5f7de3c1f8e1907bc90488d00d67ede91239470 Mon Sep 17 00:00:00 2001 From: Iajret Creature <122297233+AnArgonianLizardThatStealsPRs@users.noreply.github.com> Date: Tue, 14 Nov 2023 11:21:54 +0300 Subject: [PATCH] [MIRROR] Fixes species/tongue-based speech modification altering sign language (#611) * [MIRROR] Fixes species/tongue-based speech modification altering sign language [MDB IGNORE] (#24983) * Fixes species/tongue-based speech modification altering sign language (#79685) The second part of [PR standalone, but is better in tandem. This PR seeks to correct Signers from having a species/tongue-based speech modification while signing, i.e. no 'Sss'. Being drunk still affects Signer speech - this is fine for me, * Fixes species/tongue-based speech modification altering sign language --------- Co-authored-by: DBGit42 <149782698+DBGit42@users.noreply.github.com> * mc resolve --------- Co-authored-by: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Co-authored-by: DBGit42 <149782698+DBGit42@users.noreply.github.com> Co-authored-by: ReezeBL --- code/modules/surgery/organs/internal/tongue/_tongue.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/surgery/organs/internal/tongue/_tongue.dm b/code/modules/surgery/organs/internal/tongue/_tongue.dm index 03b223b4298..3d3d7240bb9 100644 --- a/code/modules/surgery/organs/internal/tongue/_tongue.dm +++ b/code/modules/surgery/organs/internal/tongue/_tongue.dm @@ -99,6 +99,10 @@ // FF add, for auto-accent if(HAS_TRAIT(source, TRAIT_NO_ACCENT)) return FALSE //accent disabled by user. + if(speech_args[SPEECH_LANGUAGE] in languages_native) // Speaking a native language? + return FALSE // Don't modify speech + if(HAS_TRAIT(source, TRAIT_SIGN_LANG)) // No modifiers for signers - I hate this but I simply cannot get these to combine into one statement + return FALSE // Don't modify speech modify_speech(source, speech_args) /obj/item/organ/internal/tongue/proc/modify_speech(datum/source, list/speech_args)