From edfd178e3509f96391c3131869a7a7ccd142b5f9 Mon Sep 17 00:00:00 2001 From: Kyep Date: Sun, 19 Feb 2017 15:16:28 -0800 Subject: [PATCH] Line condense --- code/game/jobs/job_exp.dm | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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 = "
  • [key_name_admin(C.mob)]: [jtext]: " + C.get_exp_living() + "
  • " else