From 285f35c02eed982df73b19ac03486f833a1b0d43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D1=80=D0=BA?= Date: Sat, 7 Dec 2024 00:46:17 +0300 Subject: [PATCH] =?UTF-8?q?=D0=93=D0=B4=D0=B5.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/game/machinery/computer/security.dm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/code/game/machinery/computer/security.dm b/code/game/machinery/computer/security.dm index 0054448442ae..4893f5eee14f 100644 --- a/code/game/machinery/computer/security.dm +++ b/code/game/machinery/computer/security.dm @@ -951,12 +951,12 @@ What a mess.*/ temp += "" + var/datum/job/job_datum = SSjob.name_occupations[rank] + if(job_datum && length(job_datum.alt_titles)) + var/how_many_alts = length(job_datum.alt_titles) + temp += "Use Title ([how_many_alts + 1] options)" + temp += "" + temp += "" else alert(usr, "You do not have the required rank to do this!") if("alt_title")