diff --git a/code/modules/mob/login.dm b/code/modules/mob/login.dm index 0658115106..264d7cc851 100644 --- a/code/modules/mob/login.dm +++ b/code/modules/mob/login.dm @@ -40,7 +40,7 @@ client.fps = 0 // Results in using the server FPS next_move = 1 - disconnect_time = null //clear the disconnect time + disconnect_time = null //VOREStation Addition: clear the disconnect time sight |= SEE_SELF ..() diff --git a/code/modules/mob/logout.dm b/code/modules/mob/logout.dm index 6f26f5f519..317bc2c076 100644 --- a/code/modules/mob/logout.dm +++ b/code/modules/mob/logout.dm @@ -1,6 +1,7 @@ /mob/Logout() GLOB.nanomanager.user_logout(src) // this is used to clean up (remove) this user's Nano UIs player_list -= src + disconnect_time = world.realtime //VOREStation Addition: logging when we disappear. update_client_z(null) log_access_out(src) if(admin_datums[src.ckey]) diff --git a/code/modules/mob/mob_defines.dm b/code/modules/mob/mob_defines.dm index 4ff683dc7a..6fab127084 100644 --- a/code/modules/mob/mob_defines.dm +++ b/code/modules/mob/mob_defines.dm @@ -215,7 +215,6 @@ var/list/active_genes=list() var/mob_size = MOB_MEDIUM - var/disconnect_time = null //Time of client loss, set by Logout(), for timekeeping var/forbid_seeing_deadchat = FALSE // Used for lings to not see deadchat, and to have ghosting behave as if they were not really dead. var/seedarkness = 1 //Determines mob's ability to see shadows. 1 = Normal vision, 0 = darkvision diff --git a/code/modules/mob/mob_defines_vr.dm b/code/modules/mob/mob_defines_vr.dm index 829ae9b8fe..806da9a317 100644 --- a/code/modules/mob/mob_defines_vr.dm +++ b/code/modules/mob/mob_defines_vr.dm @@ -2,3 +2,5 @@ var/vantag_hud = 0 // Do I have the HUD enabled? var/flying = 0 // Allows flight var/mob/temporary_form // For holding onto a temporary form + + var/disconnect_time = null //Time of client loss, set by Logout(), for timekeeping