mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-02-04 21:30:14 +00:00
* initial * fsdfsd * fsdfsd * Update to TGUI-Core. Adjust naming scheme. Add screen functionality to the dohickey. * Updates maint_recycler * Various cleanup * Mob resist * Crowbar code for when there's no power * Initial vendor sprites / etc. * The rest of the fucking commit * * Fsdfsdfsd * Add sample "bling" obj for medical use. mostly for testing later. * Initial ground work for ads and vendor datums. * Fsdfsd * Automatic changelog compile [ci skip] * Initial vendor entries * Automatic changelog compile [ci skip] * work work etc * tweaks * Implement Vendor Code. Implement Various entries. Implement remote scene tools. * remove excess pronouns to appease dreamchecker idk how these got here * Voodoo Tweaks * Voodoo boxes, entry cleanup, carpet hell, sandstone/etc. * Spawn Logic * some dangerous weapons as a treat * RARRGHHH * tab indents * Refactor Spawns/Sleeps to Timers. Fix "Clientless projectile source" missing issue * Fix recycler imports * Fix ejection * fix indentation * Cleanup Pt1 * Cleanup Pt2 * Cleanup Pt3 * Cleanup Pt 4 * remove unneeded ifle * #undef * Cleanup #491 * Fucked up burger * Map Markers/machines into tether * Stellar Delight Mappage * Fix spawn logic to not be hot ass. * Readd custom emote change after merge conflict * Fix recycler not using GLOB. post refactor * i'm... i'm.... TWEAKKKKINNNNNNG * Reasonably sane access requirement notices * foceMove me baby * no <h2> 4 u --------- Co-authored-by: vorestation-ci[bot] <199609141+vorestation-ci[bot]@users.noreply.github.com>
20 lines
912 B
Plaintext
20 lines
912 B
Plaintext
/mob/Logout()
|
|
SStgui.on_logout(src) // Cleanup any TGUIs the user has open
|
|
SEND_SIGNAL(src, COMSIG_MOB_LOGOUT)
|
|
player_list -= src
|
|
disconnect_time = world.realtime //VOREStation Addition: logging when we disappear.
|
|
update_client_z(null)
|
|
log_access_out(src)
|
|
unset_machine()
|
|
if(GLOB.admin_datums[src.ckey])
|
|
message_admins("Staff logout: [key_name(src)]") // Staff logout notice displays no matter what
|
|
if (ticker && ticker.current_state == GAME_STATE_PLAYING) //Only report this stuff if we are currently playing.
|
|
var/admins_number = GLOB.admins.len
|
|
|
|
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.")
|
|
set_listening(NON_LISTENING_ATOM) //maybe remove this, even if it will cause a teensy bit more lag
|
|
..()
|
|
|
|
return 1
|