From 282dff25961e101a1fe0ba14e40702c5c827eb23 Mon Sep 17 00:00:00 2001 From: Kyep Date: Fri, 22 Mar 2019 18:27:36 -0700 Subject: [PATCH] implements Dave's suggestion --- code/datums/datumvars.dm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/code/datums/datumvars.dm b/code/datums/datumvars.dm index ffb6e7c90ff..674557bc839 100644 --- a/code/datums/datumvars.dm +++ b/code/datums/datumvars.dm @@ -715,10 +715,7 @@ log_admin("[key_name(usr)] has offered control of ([key_name(M)]) to ghosts.") var/minhours = input(usr, "Minimum hours required to play [M]?", "Set Min Hrs", 10) as num message_admins("[key_name_admin(usr)] has offered control of ([key_name_admin(M)]) to ghosts with [minhours] hrs playtime") - var/mname = M.name - if(M.real_name) - mname = M.real_name - var/list/mob/dead/observer/candidates = pollCandidates("Do you want to play as [mname]?", poll_time = 100, min_hours = minhours) + var/list/mob/dead/observer/candidates = pollCandidates("Do you want to play as [M.real_name ? M.real_name : M.name]?", poll_time = 100, min_hours = minhours) var/mob/dead/observer/theghost = null if(candidates.len)