diff --git a/code/modules/mob/new_player/new_player.dm b/code/modules/mob/new_player/new_player.dm index ea27828385..cd9171ab75 100644 --- a/code/modules/mob/new_player/new_player.dm +++ b/code/modules/mob/new_player/new_player.dm @@ -169,6 +169,13 @@ ViewManifest() if(href_list["SelectedJob"]) + + //Prevents people rejoining as same character. + for (var/mob/living/carbon/human/C in mob_list) + var/char_name = client.prefs.real_name + if(char_name == C.real_name) + usr << "There is a character that already exists with the same name - [C.real_name], please join with a different one." + return if(!config.enter_allowed) usr << "There is an administrative lock on entering the game!"