adds the player's character name to the new player panel so that people quit joining in as the wrong character (#7908)

This commit is contained in:
deathride58
2019-01-27 03:32:13 -05:00
committed by kevinz000
parent 8e48dc5456
commit fa1693a291

View File

@@ -33,7 +33,8 @@
return
/mob/dead/new_player/proc/new_player_panel()
var/output = "<center><p><a href='byond://?src=[REF(src)];show_preferences=1'>Setup Character</a></p>"
var/output = "<center><p>Welcome, <b>[client ? client.prefs.real_name : "Unknown User"]</b></p>"
output += "<p><a href='byond://?src=[REF(src)];show_preferences=1'>Setup Character</a></p>"
if(SSticker.current_state <= GAME_STATE_PREGAME)
switch(ready)