Revert "12/21 modernizations from TG live"

This commit is contained in:
LetterJay
2016-12-22 22:35:44 -06:00
committed by GitHub
parent cf59ac1c3d
commit ae40d4134e
2215 changed files with 86928 additions and 707332 deletions
+2 -2
View File
@@ -20,13 +20,13 @@
if(!state)
return
if(isobserver(user))
if(istype(user, /mob/dead/observer))
// If they turn on ghost AI control, admins can always interact.
if(IsAdminGhost(user))
. = max(., UI_INTERACTIVE)
// Regular ghosts can always at least view if in range.
if(get_dist(src_object, user) < user.client.view)
if(get_dist(src_object, src) < user.client.view)
. = max(., UI_UPDATE)
// Check if the state allows interaction