From 0297084fc2d950e75c2f381152f4bdb1ee037e9f Mon Sep 17 00:00:00 2001 From: Albert Iordache Date: Sun, 25 Dec 2011 21:30:35 +0200 Subject: [PATCH] Fixed runtime error preventing the player panel from opening --- code/modules/admin/admin.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index 035365e2717..865e2ee9582 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -1880,7 +1880,7 @@ if(istype(M, /mob/living/carbon/alien)) dat += "Alien" - 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