mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-02 13:42:32 +00:00
* F3 debug menu * Some tweaks * So that escalated * Update code/controllers/subsystem.dm * Update code/controllers/subsystem/debugview.dm * Charlie tweaks
17 lines
623 B
Plaintext
17 lines
623 B
Plaintext
SUBSYSTEM_DEF(chat_pings)
|
|
name = "Chat Pings"
|
|
flags = SS_NO_INIT
|
|
runlevels = RUNLEVEL_INIT | RUNLEVEL_LOBBY | RUNLEVEL_SETUP | RUNLEVEL_GAME | RUNLEVEL_POSTGAME // ALL OF THEM
|
|
wait = 30 SECONDS // Chat pings every 30 seconds
|
|
/// List of all held chat datums
|
|
var/list/datum/chatOutput/chat_datums = list() // Do NOT put this in Initialize(). You will cause issues.
|
|
|
|
/datum/controller/subsystem/chat_pings/fire(resumed)
|
|
for(var/datum/chatOutput/CO as anything in chat_datums)
|
|
CO.updatePing()
|
|
if(MC_TICK_CHECK)
|
|
return
|
|
|
|
/datum/controller/subsystem/chat_pings/get_stat_details()
|
|
return "P: [length(chat_datums)]"
|