diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index 56b4d8c3936..7e6bc835aac 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -971,6 +971,7 @@ SSblackbox.record_feedback("tally", "admin_verb", 1, "Ghost Drag Control") tomob.ckey = frommob.ckey + tomob.client?.init_verbs() qdel(frommob) return TRUE diff --git a/code/modules/admin/verbs/debug.dm b/code/modules/admin/verbs/debug.dm index 9abe69b3d52..84902c9f8e3 100644 --- a/code/modules/admin/verbs/debug.dm +++ b/code/modules/admin/verbs/debug.dm @@ -243,6 +243,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that if(M.ckey) M.ghostize(FALSE) M.ckey = ckey + init_verbs() if(isobserver(adminmob)) qdel(adminmob) SSblackbox.record_feedback("tally", "admin_verb", 1, "Assume Direct Control") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! @@ -267,6 +268,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that if(M.ckey) M.ghostize(FALSE) M.ckey = newkey.key + M.client?.init_verbs() if(delmob) qdel(oldmob) message_admins("[key_name_admin(usr)] gave away direct control of [M] to [newkey].") diff --git a/code/modules/mob/mob_helpers.dm b/code/modules/mob/mob_helpers.dm index cb39bba60e8..13f7dbd536f 100644 --- a/code/modules/mob/mob_helpers.dm +++ b/code/modules/mob/mob_helpers.dm @@ -434,6 +434,7 @@ message_admins("[key_name_admin(C)] has taken control of ([ADMIN_LOOKUPFLW(M)])") M.ghostize(0) M.key = C.key + M.client?.init_verbs() return TRUE else to_chat(M, "There were no ghosts willing to take control.") @@ -448,7 +449,6 @@ /mob/proc/is_floating() return (movement_type & FLOATING) - ///Clicks a random nearby mob with the source from this mob /mob/proc/click_random_mob() var/list/nearby_mobs = list()