Message Monitor

This commit is contained in:
SabreML
2021-08-28 21:05:59 +01:00
parent fcb52e077c
commit 06ec133374
2 changed files with 21 additions and 10 deletions
+4 -2
View File
@@ -60,14 +60,16 @@ GLOBAL_LIST_EMPTY(message_servers)
var/active = TRUE
var/decryptkey = "password"
/obj/machinery/message_server/New()
/obj/machinery/message_server/Initialize(mapload)
. = ..()
GLOB.message_servers += src
decryptkey = GenerateKey()
send_pda_message("System Administrator", "system", "This is an automated message. The messaging system is functioning correctly.")
..()
/obj/machinery/message_server/Destroy()
GLOB.message_servers -= src
QDEL_LIST(pda_msgs)
QDEL_LIST(rc_msgs)
return ..()
/obj/machinery/message_server/process()