From f2e2940255a76f92a5b88c4b68b010bb4d388ec1 Mon Sep 17 00:00:00 2001 From: MrStonedOne Date: Tue, 14 Apr 2015 06:01:42 -0700 Subject: [PATCH] Makes admin ghost drag use ghostize --- code/modules/admin/admin.dm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index daa1ccf2e65..c0037a404c6 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -876,16 +876,14 @@ proc/kick_clients_in_lobby(var/message, var/kick_only_afk = 0) var/question = "" if (tomob.ckey) - question = "This mob already has a user ([tomob.ckey]) in control of it! " + question = "This mob already has a user ([tomob.key]) in control of it! " question += "Are you sure you want to place [frommob.name]([frommob.key]) in control of [tomob.name]?" var/ask = alert(question, "Place ghost in control of mob?", "Yes", "No") if (ask != "Yes") return 1 - if (tomob.ckey) - var/mob/dead/observer/ghost = new/mob/dead/observer(tomob,1) - ghost.ckey = tomob.ckey + ghostize(tomob,0) message_admins("[key_name_admin(usr)] has put [frommob.ckey] in control of [tomob.name].") log_admin("[key_name(usr)] stuffed [frommob.ckey] into [tomob.name].")