Persistent clients and body recovery (#29974)

* Persistent clients and body recovery

* Update code/_globalvars/lists/mob_lists.dm

Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
Signed-off-by: Charlie Nolan <funnyman3595@gmail.com>

---------

Signed-off-by: Charlie Nolan <funnyman3595@gmail.com>
Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
This commit is contained in:
Charlie Nolan
2025-08-19 13:42:43 +00:00
committed by GitHub
co-authored by PollardTheDragon
parent e43a88de5b
commit 1d068fe25c
25 changed files with 128 additions and 93 deletions
+7 -2
View File
@@ -278,8 +278,10 @@
stat_panel = new(src, "statbrowser")
stat_panel.subscribe(src, PROC_REF(on_stat_panel_message))
// Create a PM tracker bound to this ckey.
pm_tracker = new(ckey)
persistent = GLOB.persistent_clients[ckey]
if(!persistent)
persistent = new(ckey)
GLOB.persistent_clients[ckey] = persistent
tgui_panel = new(src, "chat_panel")
tgui_say = new(src, "tgui_say")
@@ -1340,6 +1342,9 @@
src << link("https://secure.byond.com/download/")
/datum/persistent_client/New(ckey)
// Create a PM tracker bound to this ckey.
pm_tracker = new(ckey)
#undef LIMITER_SIZE
#undef CURRENT_SECOND