Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 269458f

Browse files
authored
Update _job.dm (#22912)
1 parent a968f42 commit 269458f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

code/modules/jobs/job_types/_job.dm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,9 @@
225225

226226
//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
227227
/datum/job/proc/player_old_enough(client/C)
228+
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
229+
if(isexempt)
230+
return TRUE
228231
if(available_in_days(C) == 0)
229232
return TRUE //Available in 0 days = available right now = player is old enough to play.
230233
return FALSE

0 commit comments

Comments
 (0)