Files
GS13NG/code/modules/mob/dead/observer/login.dm
T
2019-12-29 22:22:20 +01:00

24 lines
583 B
Plaintext

/mob/dead/observer/Login()
..()
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()
client.reenter_round_timeout = max(client.reenter_round_timeout, clientless_round_timeout)
clientless_round_timeout = client.reenter_round_timeout