diff --git a/code/modules/mob/living/login.dm b/code/modules/mob/living/login.dm index ffdd37bdca..611d9dbc4c 100644 --- a/code/modules/mob/living/login.dm +++ b/code/modules/mob/living/login.dm @@ -13,8 +13,8 @@ update_damage_hud() update_health_hud() - if (loc) - var/turf/T = get_turf(src) + var/turf/T = get_turf(src) + if (isturf(T)) update_z(T.z) //Vents