Merge pull request #4600 from Menshin/2Spooky5Playing

Fixes skeletons unable to play xylophone on their ribcage
This commit is contained in:
Alex
2014-09-06 19:13:50 +01:00
+1 -1
View File
@@ -205,7 +205,7 @@
src << "<span class='info'>You're completely exhausted.</span>"
else
src << "<span class='info'>You feel fatigued.</span>"
if(dna && (dna.species == /datum/species/skeleton) && !H.w_uniform && !H.wear_suit)
if(dna && dna.species.id && dna.species.id == "skeleton" && !H.w_uniform && !H.wear_suit)
H.play_xylophone()
else
if(ishuman(src))