diff --git a/code/modules/mob/dead/new_player/new_player.dm b/code/modules/mob/dead/new_player/new_player.dm index 4019f7f293..f4cd5e0cfa 100644 --- a/code/modules/mob/dead/new_player/new_player.dm +++ b/code/modules/mob/dead/new_player/new_player.dm @@ -165,12 +165,14 @@ var/months_in_eighteen_years = 18 * 12 var/month_difference = current_total_months - player_total_months + message_admins("one: [month_difference] two: [months_in_eighteen_years]") if(month_difference > months_in_eighteen_years) age_gate_result = TRUE // they're fine else if(month_difference < months_in_eighteen_years) age_gate_result = FALSE else + message_admins("broken") //they could be 17 or 18 depending on the /day/ they were born in var/current_day = text2num(time2text(current_time, "DD")) var/days_in_months = list(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31) @@ -180,7 +182,7 @@ var/list/days for(var/number in 1 to total_days_in_player_month) days += number - var/player_day = input(src, "What day of the month were you born in.", 1) in days + var/player_day = input(src, "What day of the month were you born in.") as anything in days if(player_day <= current_day) //their birthday has not passed age_gate_result = FALSE