fixed enter_link

This commit is contained in:
uraniummeltdown
2017-02-06 20:22:08 +04:00
parent cd865ac1f2
commit bbe7663e21
+7 -1
View File
@@ -35,12 +35,18 @@ In my current plan for it, 'solid' will be defined as anything with density == 1
z_original = z
destination = end
notify_ghosts("\A [src] is inbound!",
enter_link="<a href=?src=[UID()];orbit=1>(Click to follow)</a>",
enter_link="<a href=?src=[UID()];follow=1>(Click to follow)</a>",
source=src, action=NOTIFY_FOLLOW)
poi_list |= src
if(end && end.z==z_original)
walk_towards(src, destination, 1)
/obj/effect/immovablerod/Topic(href, href_list)
if(href_list["follow"])
var/mob/dead/observer/ghost = usr
if(istype(ghost))
ghost.ManualFollow(src)
/obj/effect/immovablerod/Destroy()
poi_list.Remove(src)
return ..()