Teleport menu typo fix (#16896)

This commit is contained in:
SabreML
2021-10-08 15:19:44 +01:00
committed by GitHub
parent 64ea585140
commit cd16409c14
+1 -2
View File
@@ -390,8 +390,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
to_chat(usr, "Not when you're not dead!")
return
var/target = input("Area to teleport to", "Teleport to a location") as null|anything in SSmapping.ghostteleportlocs
var/area/A = SSmapping.teleportlocs[target]
teleport(A)
teleport(SSmapping.ghostteleportlocs[target])
/mob/dead/observer/proc/teleport(area/A)
if(!A || !isobserver(usr))