Skip to content

Commit

Permalink
Add missing translator implant check (ParadiseSS13#12874)
Browse files Browse the repository at this point in the history
  • Loading branch information
datlo authored Feb 15, 2020
1 parent 4ed5163 commit 295ab9e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/modules/mob/living/carbon/human/say.dm
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@
return real_name

/mob/living/carbon/human/IsVocal()
var/obj/item/organ/internal/cyberimp/brain/speech_translator/translator = locate(/obj/item/organ/internal/cyberimp/brain/speech_translator) in internal_organs
if(translator && translator.active)
return TRUE
// how do species that don't breathe talk? magic, that's what.
var/breathes = (!(NO_BREATHE in dna.species.species_traits))
var/obj/item/organ/internal/L = get_organ_slot("lungs")
Expand Down

0 comments on commit 295ab9e

Please sign in to comment.