Adds missing runtime viewer Topic calls.

Relocates them to the datum itself rather than it being an admin topic for maximum self-containment.
Also adds 'adminplayerobservefollow', making it possible for admins to not only jump to mobs but also follow them with a single click.
Misc tweaks from Paradise.
This commit is contained in:
PsiOmegaDelta
2016-08-23 17:56:32 +02:00
committed by Yoshax
parent 7573757613
commit c32003e973
4 changed files with 40 additions and 8 deletions

View File

@@ -1176,6 +1176,18 @@
sleep(2)
C.jumptomob(M)
else if(href_list["adminplayerobservefollow"])
if(!check_rights(R_MENTOR|R_MOD|R_ADMIN|R_SERVER))
return
var/mob/M = locate(href_list["adminplayerobservefollow"])
var/client/C = usr.client
if(!isobserver(usr)) C.admin_ghost()
var/mob/observer/dead/G = C.mob
sleep(2)
G.ManualFollow(M)
else if(href_list["check_antagonist"])
check_antagonists()