mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 01:23:41 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user