From 0abf7417a57dbe39a61d196dacef5c24fbc73923 Mon Sep 17 00:00:00 2001 From: "baloh.matevz" Date: Mon, 12 Dec 2011 03:09:00 +0000 Subject: [PATCH] TG update: 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 37f0d9a34d9..035365e2717 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.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