mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-03 21:42:06 +00:00
* Ports paradise's modular buildmode * Axes logout callback of buildmode * AnturK's changes - Code formatting - Gives mob to throw args - Selection overlays are on ABOVE_LIGHTING_PLANE to be visible on space Other: - Doubleclicks of observers and AI no longer "double-tap" click intercepts
18 lines
358 B
Plaintext
18 lines
358 B
Plaintext
/mob/Logout()
|
|
log_message("[key_name(src)] is no longer owning mob [src]([src.type])", LOG_OWNERSHIP)
|
|
SStgui.on_logout(src)
|
|
unset_machine()
|
|
GLOB.player_list -= src
|
|
|
|
..()
|
|
|
|
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()
|
|
|
|
return TRUE
|