mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 22:28:44 +01:00
Makes drone age restriction based on config setting too
This commit is contained in:
@@ -117,7 +117,7 @@
|
||||
return
|
||||
|
||||
// VOREStation Addition Start
|
||||
if(isnum(src.client.player_age))
|
||||
if(config.use_age_restriction_for_jobs && isnum(src.client.player_age))
|
||||
var/time_till_play = max(0, 3 - src.client.player_age)
|
||||
if(time_till_play)
|
||||
to_chat(usr, "<span class='danger'>You have not been playing on the server long enough to join as drone.</span>")
|
||||
|
||||
Reference in New Issue
Block a user