mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
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:
co-authored by
PollardTheDragon
parent
e43a88de5b
commit
1d068fe25c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user