Deletes the "Jump to mob" verb from ghosts (#20559)

* Deletes the "Jump to mob" verb from ghosts

* All smoothed out
This commit is contained in:
GDN
2023-03-10 18:21:16 -06:00
committed by GitHub
parent e1aff33450
commit 2bc9f02dd6
3 changed files with 6 additions and 29 deletions
@@ -498,16 +498,6 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
setDir(2)//reset dir so the right directional sprites show up
return ..()
/mob/dead/observer/verb/jumptomob() //Moves the ghost instead of just changing the ghosts's eye -Nodrak
set category = "Ghost"
set name = "Jump to Mob"
set desc = "Teleport to a mob"
if(isobserver(usr)) //Make sure they're an observer!
var/list/dest = getpois(mobs_only=TRUE) //Fill list, prompt user with list
var/datum/async_input/A = input_autocomplete_async(usr, "Enter a mob name: ", dest)
A.on_close(CALLBACK(src, PROC_REF(jump_to_mob)))
/mob/dead/observer/proc/jump_to_mob(mob/M)
if(!M || !isobserver(usr))
return