From 0f2f9038f46d54a66c922b8937f534475aeee9a0 Mon Sep 17 00:00:00 2001 From: "baloh.matevz" Date: Mon, 12 Dec 2011 03:09:00 +0000 Subject: [PATCH] Fixed the player panel not opening, bug caused by r2658 git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2667 316c924e-a436-60f5-8080-3fe189b3f50e --- 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 6f39a49796e..6d030af5b60 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -1781,7 +1781,7 @@ if(istype(M, /mob/living/carbon/alien)) dat += "Alien" - if(M.mind.assigned_role) // Adds a column to Player Panel that shows their current job. + if(M.mind && M.mind.assigned_role) // 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