From 4551f97924a6dde8a0bd0f4648537c314266dd67 Mon Sep 17 00:00:00 2001 From: Heroman Date: Mon, 13 Jan 2020 14:56:27 +1000 Subject: [PATCH] Makes drone age restriction based on config setting too --- .../mob/living/silicon/robot/drone/drone_manufacturer.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/silicon/robot/drone/drone_manufacturer.dm b/code/modules/mob/living/silicon/robot/drone/drone_manufacturer.dm index e0b050a49b..048408773f 100644 --- a/code/modules/mob/living/silicon/robot/drone/drone_manufacturer.dm +++ b/code/modules/mob/living/silicon/robot/drone/drone_manufacturer.dm @@ -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, "You have not been playing on the server long enough to join as drone.")