Skip to content

Commit

Permalink
Move mask verb change down so it takes precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
Stokes52 committed Jul 2, 2021
1 parent 7d0356b commit d1a6c90
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions code/modules/mob/living/carbon/human/say.dm
Expand Up @@ -145,11 +145,6 @@
if(silent || HAS_TRAIT(src, TRAIT_MUTE))
S.message = ""

if(wear_mask)
var/speech_verb_when_masked = wear_mask.change_speech_verb()
if(speech_verb_when_masked)
verb = speech_verb_when_masked

if(istype(wear_mask, /obj/item/clothing/mask/horsehead))
var/obj/item/clothing/mask/horsehead/hoers = wear_mask
if(hoers.voicechange)
Expand All @@ -172,6 +167,10 @@
if(span)
S.message = "<span class='[span]'>[S.message]</span>"

if(wear_mask)
var/speech_verb_when_masked = wear_mask.change_speech_verb()
if(speech_verb_when_masked)
verb = speech_verb_when_masked

return list("verb" = verb)

Expand Down

0 comments on commit d1a6c90

Please sign in to comment.