[MIRROR] Add admin panel for viewing circuits (#7389)

* Add admin panel for viewing circuits

* Update admin_verbs.dm

* Update admin_verbs.dm

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
SkyratBot
2021-08-06 03:05:37 +02:00
committed by GitHub
parent 19ef84aba6
commit 4e4647bd71
7 changed files with 196 additions and 21 deletions
+14
View File
@@ -1199,3 +1199,17 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
return 0
return max(0, days_needed - player_age)
/// Attempts to make the client orbit the given object, for administrative purposes.
/// If they are not an observer, will try to aghost them.
/client/proc/admin_follow(atom/movable/target)
var/can_ghost = TRUE
if (!isobserver(mob))
can_ghost = admin_ghost()
if(!can_ghost)
return FALSE
var/mob/dead/observer/observer = mob
observer.ManualFollow(target)