diff --git a/code/game/jobs/job_exp.dm b/code/game/jobs/job_exp.dm index 936eb1b09c4..57146664b67 100644 --- a/code/game/jobs/job_exp.dm +++ b/code/game/jobs/job_exp.dm @@ -13,13 +13,12 @@ var/jtext for(var/client/C in clients) jtext = "No Job" - 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(C.mob.mind && 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 = "