diff --git a/code/game/jobs/job_exp.dm b/code/game/jobs/job_exp.dm index e0b403bfce7..936eb1b09c4 100644 --- a/code/game/jobs/job_exp.dm +++ b/code/game/jobs/job_exp.dm @@ -13,12 +13,13 @@ var/jtext for(var/client/C in clients) jtext = "No Job" - if(C.mob.mind.assigned_role) - theirjob = job_master.GetJob(C.mob.mind.assigned_role) - if(theirjob) - jtext = theirjob.title - if(config.use_exp_restrictions && theirjob.exp_requirements && theirjob.exp_type) - jtext += "*" + if(C.mob.mind) + if(C.mob.mind.assigned_role) + theirjob = job_master.GetJob(C.mob.mind.assigned_role) + if(theirjob) + jtext = theirjob.title + if(config.use_exp_restrictions && theirjob.exp_requirements && theirjob.exp_type) + jtext += "*" if(check_rights(R_ADMIN)) pline = "