Files
9983fca311 Update SSOverlays (ported from Baystation) (#19051)
Our SSOverlays system is outdated, and is likely the cause of many of
the issues seen in #18895. It has also been linked to a massive server
performance decrease.

This brings an updated system from Baystation, hopefully with speed
increases.

Should be testmerged, ideally with #18895.

---------

Co-authored-by: Cody Brittain <cbrittain10@live.com>
2024-05-01 07:46:27 +00:00

7 lines
206 B
Plaintext

/mob/living/carbon/human/Logout()
..()
if(species)
species.handle_logout_special(src)
if(mind && mind.active && stat != DEAD)
AddOverlays(image('icons/effects/effects.dmi', icon_state = "zzz_glow"))