Fixed runtime error preventing the player panel from opening

This commit is contained in:
Albert Iordache
2011-12-25 21:30:35 +02:00
parent d2a0fced23
commit 0297084fc2

View File

@@ -1880,7 +1880,7 @@
if(istype(M, /mob/living/carbon/alien))
dat += "<td>Alien</td>"
if(M.mind && M.mind.assigned_role) // Adds a column to Player Panel that shows their current job.
if(M.mind && M.mind.assigned_role && istype(M, /mob/living/carbon/human)) // Adds a column to Player Panel that shows their current job.
var/mob/living/carbon/human/H = M
if (H.wear_id)
var/obj/item/weapon/card/id/id = H.wear_id