From 269458f2473de7152260e2eadec81a3942075e09 Mon Sep 17 00:00:00 2001 From: Byemoh Date: Sun, 12 Jan 2025 22:01:28 -0600 Subject: [PATCH] Update _job.dm (#22912) --- code/modules/jobs/job_types/_job.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/jobs/job_types/_job.dm b/code/modules/jobs/job_types/_job.dm index 74741af2f38d..386dc0719dc2 100644 --- a/code/modules/jobs/job_types/_job.dm +++ b/code/modules/jobs/job_types/_job.dm @@ -225,6 +225,9 @@ //If the configuration option is set to require players to be logged as old enough to play certain jobs, then this proc checks that they are, otherwise it just returns 1 /datum/job/proc/player_old_enough(client/C) + var/isexempt = C.prefs.db_flags & DB_FLAG_EXEMPT //if we're exempt from job EXP requirements we also should be exempt from account age probably + if(isexempt) + return TRUE if(available_in_days(C) == 0) return TRUE //Available in 0 days = available right now = player is old enough to play. return FALSE