diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index cd94acf4da0..4856542a556 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -366,7 +366,9 @@ if(choice == "No, wait") return else if(mind.assigned_role) - var/extra_check = tgui_alert(usr, "Do you want to Quit This Round before you return to lobby? This will properly remove you from manifest, as well as prevent resleeving.","Quit This Round",list("Quit Round","Cancel")) + var/extra_check = tgui_alert(usr, "Do you want to Quit This Round before you return to lobby?\ + This will properly remove you from manifest, as well as prevent resleeving. BEWARE: Pressing 'NO' will STILL return you to lobby!", + "Quit This Round",list("Quit Round","No")) if(extra_check == "Quit Round") //Update any existing objectives involving this mob. for(var/datum/objective/O in all_objectives) @@ -406,7 +408,6 @@ to_chat(src,"Your job has been free'd up, and you can rejoin as another character or quit. Thanks for properly quitting round, it helps the server!") // Beyond this point, you're going to respawn - to_chat(usr, config.respawn_message) if(!client) log_game("[usr.key] AM failed due to disconnect.") @@ -425,7 +426,9 @@ qdel(M) return + M.has_respawned = TRUE //When we returned to main menu, send respawn message M.key = key + if(M.mind) M.mind.reset() return diff --git a/code/modules/mob/new_player/login.dm b/code/modules/mob/new_player/login.dm index 299719aaa8f..1fe31e965d9 100644 --- a/code/modules/mob/new_player/login.dm +++ b/code/modules/mob/new_player/login.dm @@ -31,6 +31,10 @@ var/obj/effect/lobby_image = new /obj/effect/lobby_image if(join_motd) to_chat(src, "
[join_motd]
") + if(has_respawned) + to_chat(usr, config.respawn_message) + has_respawned = FALSE + if(!mind) mind = new /datum/mind(key) mind.active = 1 @@ -53,7 +57,7 @@ var/obj/effect/lobby_image = new /obj/effect/lobby_image /mob/new_player/proc/version_warnings() var/problems // string to store message to present to player as a problem - + // TODO: Move this to a config file at some point maybe? What would the structure of that look like? switch(client.byond_build) // http://www.byond.com/forum/post/2711510 @@ -62,7 +66,7 @@ var/obj/effect/lobby_image = new /obj/effect/lobby_image // http://www.byond.com/forum/post/2711748 if(1562 to 1563) problems = "frequent known crashes related to animations" - + // Don't have a thread, just a lot of player reports. if(1564 to 1565) // Fixed in 1566 which isn't released as of this commit if(world.byond_build == 1564) diff --git a/code/modules/mob/new_player/new_player.dm b/code/modules/mob/new_player/new_player.dm index 9c04c087175..df3bdad9d73 100644 --- a/code/modules/mob/new_player/new_player.dm +++ b/code/modules/mob/new_player/new_player.dm @@ -6,6 +6,7 @@ var/totalPlayers = 0 //Player counts for the Lobby tab var/totalPlayersReady = 0 var/show_hidden_jobs = 0 //Show jobs that are set to "Never" in preferences + var/has_respawned = FALSE //Determines if we're using RESPAWN_MESSAGE var/datum/browser/panel universal_speak = 1