Adds admin_jump_link and AI eye jumping

Also fixes a little mistake in ghost AI eye following.
This commit is contained in:
Krausus
2015-05-23 09:50:38 -04:00
parent f5be679752
commit 6ba24c8069
10 changed files with 49 additions and 19 deletions
+2 -2
View File
@@ -499,8 +499,8 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
return ..()
/proc/ghost_follow_link(var/atom/target, var/atom/ghost=src)
if(!target) return
/proc/ghost_follow_link(var/atom/target, var/atom/ghost)
if((!target) || (!ghost)) return
if(isAI(target)) // AI core/eye follow links
var/mob/living/silicon/ai/A = target
. = "<a href='byond://?src=\ref[ghost];follow=\ref[A]'>core</a>"