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
This commit is contained in:
baloh.matevz
2011-12-12 03:09:00 +00:00
parent c3ea06bac5
commit 0f2f9038f4

View File

@@ -1781,7 +1781,7 @@
if(istype(M, /mob/living/carbon/alien))
dat += "<td>Alien</td>"
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