mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-02-04 21:39:20 +00:00
* Fixes Massive Radio Overtime, Implements a Spatial Grid System for Faster Searching Over Areas * no spamming pings for upstream :( * E * E Co-authored-by: Kylerace <kylerlumpkin1@gmail.com> Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> Co-authored-by: Gandalf <jzo123@hotmail.com>
21 lines
449 B
Plaintext
21 lines
449 B
Plaintext
/mob/Logout()
|
|
SEND_SIGNAL(src, COMSIG_MOB_LOGOUT)
|
|
log_message("[key_name(src)] is no longer owning mob [src]([src.type])", LOG_OWNERSHIP)
|
|
SStgui.on_logout(src)
|
|
unset_machine()
|
|
remove_from_player_list()
|
|
clear_client_in_contents()
|
|
..()
|
|
|
|
if(loc)
|
|
loc.on_log(FALSE)
|
|
|
|
if(client)
|
|
for(var/foo in client.player_details.post_logout_callbacks)
|
|
var/datum/callback/CB = foo
|
|
CB.Invoke()
|
|
|
|
clear_important_client_contents(client)
|
|
|
|
return TRUE
|