Update living.dm

This commit is contained in:
silicons
2020-11-21 21:04:48 -07:00
committed by GitHub
parent cee17c3f65
commit 45d84ec7d4
+4 -1
View File
@@ -260,8 +260,11 @@
// i wish to have a "friendly chat" with whoever made three tail variables instead of one
/mob/living/proc/has_tail()
return FALSE
/mob/living/carbon/human/has_tail()
if(!dna || !dna.species || !dna.species.mutant_bodyparts)
return FALSE
return ..()
var/list/L = dna.species.mutant_bodyparts // caches list because i refuse to type it out and because performance
return (L["mam_tail"] && (L["mam_tail"] != "None")) || (L["tail_human"] && (L["tail_human"] != "None")) || (L["tail_lizard"] && (L["tail_lizard"] != "None"))