From f58f105186bcc99f4628dca2ba5ad34fc59c37f1 Mon Sep 17 00:00:00 2001 From: Byemoh Date: Mon, 30 Dec 2024 23:59:56 -0600 Subject: [PATCH] Update _job.dm --- 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 8206a9821bbf..5ffaad58a5db 100644 --- a/code/modules/jobs/job_types/_job.dm +++ b/code/modules/jobs/job_types/_job.dm @@ -224,6 +224,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