Files
GS13/code/modules/mob/dead/observer/login.dm
T
2021-09-23 19:37:06 -03:00

23 lines
471 B
Plaintext

/mob/dead/observer/Login()
. = ..()
if(!. || !client)
return FALSE
ghost_accs = client.prefs.ghost_accs
ghost_others = client.prefs.ghost_others
var/preferred_form = null
if(IsAdminGhost(src))
has_unlimited_silicon_privilege = 1
if(client.prefs.unlock_content)
preferred_form = client.prefs.ghost_form
ghost_orbit = client.prefs.ghost_orbit
var/turf/T = get_turf(src)
if (isturf(T))
update_z(T.z)
update_icon(preferred_form)
updateghostimages()