Merge pull request #4806 from Miauw62/NEEIIGGGH

Makes horse masks work again.
This commit is contained in:
Alex
2014-09-14 13:07:50 +01:00
2 changed files with 2 additions and 3 deletions

View File

@@ -53,6 +53,5 @@
/obj/item/clothing/mask/horsehead/speechModification(message)
if(voicechange)
if(!(copytext(message, 1, 2) == "*" || (usr.mind && usr.mind.changeling && (copytext(message, 1, 3) == ":g" || copytext(message, 1, 3) == ":G" || copytext(message, 1, 3) == ":<3A>"))))
message = pick("NEEIIGGGHHHH!", "NEEEIIIIGHH!", "NEIIIGGHH!", "HAAWWWWW!", "HAAAWWW!")
message = pick("NEEIIGGGHHHH!", "NEEEIIIIGHH!", "NEIIIGGHH!", "HAAWWWWW!", "HAAAWWW!")
return message

View File

@@ -2,7 +2,7 @@
message = ..(message)
if(wear_mask)
message = wear_mask.speechModification(message)
return message
/mob/living/carbon/can_speak_basic(message)