mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-22 05:25:15 +01:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user