diff --git a/code/modules/mob/dead/new_player/new_player.dm b/code/modules/mob/dead/new_player/new_player.dm
index a9be76494b..2fdbf01382 100644
--- a/code/modules/mob/dead/new_player/new_player.dm
+++ b/code/modules/mob/dead/new_player/new_player.dm
@@ -16,6 +16,9 @@
//Used to make sure someone doesn't get spammed with messages if they're ineligible for roles
var/ineligible_for_roles = FALSE
+ //is there a result we want to read from the age gate
+ var/age_gate_result
+
/mob/dead/new_player/Initialize()
if(client && SSticker.state == GAME_STATE_STARTUP)
var/obj/screen/splash/S = new(client, TRUE, TRUE)
@@ -78,25 +81,42 @@
popup.set_content(output)
popup.open(FALSE)
-/proc/age_gate(/mob/dead/new_player/plr)
+/mob/dead/new_player/proc/age_gate()
var/list/dat = list("
")
dat += "Enter your date of birth here, to confirm that you are over 18. "
dat += "Your date of birth is not saved, only the fact that you are over/under 18 is. "
dat += "