From a6998f5945c07d7e97b3b34d7257573ed07ca5b0 Mon Sep 17 00:00:00 2001 From: larentoun <31931237+larentoun@users.noreply.github.com> Date: Thu, 11 Jul 2024 23:34:29 +0300 Subject: [PATCH] review --- code/__DEFINES/bandastation/ru_jobs.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/__DEFINES/bandastation/ru_jobs.dm b/code/__DEFINES/bandastation/ru_jobs.dm index b14d9a9e29377..1b78a2283032d 100644 --- a/code/__DEFINES/bandastation/ru_jobs.dm +++ b/code/__DEFINES/bandastation/ru_jobs.dm @@ -115,6 +115,7 @@ GLOBAL_LIST_INIT(job_titles_ru, list( // Use it ONLY for display!! /proc/job_title_ru(title) - if(GLOB.job_titles_ru[title]) - return GLOB.job_titles_ru[title] + var/job_ru_title = GLOB.job_titles_ru[title] + if(job_ru_title) + return job_ru_title return title