Merge remote-tracking branch 'upstream/master' into familyport
This commit is contained in:
@@ -258,7 +258,7 @@
|
||||
var/list/days = list()
|
||||
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.") as anything in days
|
||||
var/player_day = tgui_input_list(src, "What day of the month were you born in.", "", days)
|
||||
if(player_day <= current_day)
|
||||
//their birthday has passed
|
||||
age_gate_result = TRUE
|
||||
@@ -455,7 +455,7 @@
|
||||
|
||||
var/mintime = max(CONFIG_GET(number/respawn_delay), (SSticker.round_start_time + (CONFIG_GET(number/respawn_minimum_delay_roundstart) * 600)) - world.time, 0)
|
||||
|
||||
var/this_is_like_playing_right = alert(src,"Are you sure you wish to observe? You will not be able to respawn for [round(mintime / 600, 0.1)] minutes!!","Player Setup","Yes","No")
|
||||
var/this_is_like_playing_right = tgui_alert(src, "Are you sure you wish to observe? You will not be able to respawn for [round(mintime / 600, 0.1)] minutes!!","Player Setup",list("Yes","No"))
|
||||
|
||||
if(QDELETED(src) || !src.client || this_is_like_playing_right != "Yes")
|
||||
ready = PLAYER_NOT_READY
|
||||
@@ -537,11 +537,11 @@
|
||||
/mob/dead/new_player/proc/AttemptLateSpawn(rank)
|
||||
var/error = IsJobUnavailable(rank)
|
||||
if(error != JOB_AVAILABLE)
|
||||
alert(src, get_job_unavailable_error_message(error, rank))
|
||||
tgui_alert(src, get_job_unavailable_error_message(error, rank))
|
||||
return FALSE
|
||||
|
||||
if(SSticker.late_join_disabled)
|
||||
alert(src, "An administrator has disabled late join spawning.")
|
||||
tgui_alert(src, "An administrator has disabled late join spawning.")
|
||||
return FALSE
|
||||
|
||||
if(!respawn_latejoin_check(notify = TRUE))
|
||||
@@ -551,7 +551,7 @@
|
||||
if(SSshuttle.arrivals)
|
||||
close_spawn_windows() //In case we get held up
|
||||
if(SSshuttle.arrivals.damaged && CONFIG_GET(flag/arrivals_shuttle_require_safe_latejoin))
|
||||
src << alert("The arrivals shuttle is currently malfunctioning! You cannot join.")
|
||||
tgui_alert(src, "The arrivals shuttle is currently malfunctioning! You cannot join.")
|
||||
return FALSE
|
||||
|
||||
if(CONFIG_GET(flag/arrivals_shuttle_require_undocked))
|
||||
|
||||
Reference in New Issue
Block a user