mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-01-27 17:33:05 +00:00
* Update settings * Whitespace changes * Comment out merger hooks in gitattributes Corrupt maps would have to be resolved in repo before hooks could be updated * Revert "Whitespace changes" This reverts commitafbdd1d844. * Whitespace again minus example * Gitignore example changelog * Restore changelog merge setting * Keep older dmi hook attribute until hooks can be updated * update vscode settings too * Renormalize remaining * Revert "Gitignore example changelog" This reverts commitde22ad375d. * Attempt to normalize example.yml (and another file I guess) * Try again
17 lines
723 B
Plaintext
17 lines
723 B
Plaintext
/mob/Logout()
|
|
SStgui.on_logout(src) // Cleanup any TGUIs the user has open
|
|
player_list -= src
|
|
disconnect_time = world.realtime //VOREStation Addition: logging when we disappear.
|
|
update_client_z(null)
|
|
log_access_out(src)
|
|
unset_machine()
|
|
if(admin_datums[src.ckey])
|
|
if (ticker && ticker.current_state == GAME_STATE_PLAYING) //Only report this stuff if we are currently playing.
|
|
var/admins_number = GLOB.admins.len
|
|
|
|
message_admins("Admin logout: [key_name(src)]")
|
|
if(admins_number == 0) //Apparently the admin logging out is no longer an admin at this point, so we have to check this towards 0 and not towards 1. Awell.
|
|
send2adminirc("[key_name(src)] logged out - no more admins online.")
|
|
..()
|
|
|
|
return 1 |