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

Commit f58f105

Browse files
committed
Update _job.dm
1 parent ecbf6d3 commit f58f105

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
@@ -224,6 +224,9 @@
224224

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

0 commit comments

Comments
 (0)