New() goes in the trash, we've gotta Initialize()
This commit is contained in:
@@ -78,12 +78,11 @@ GLOBAL_LIST_INIT(message_servers, list())
|
||||
var/active = 1
|
||||
var/decryptkey = "password"
|
||||
|
||||
/obj/machinery/message_server/New()
|
||||
/obj/machinery/message_server/Initialize()
|
||||
GLOB.message_servers += src
|
||||
decryptkey = GenerateKey()
|
||||
send_pda_message("System Administrator", "system", "This is an automated message. The messaging system is functioning correctly.")
|
||||
..()
|
||||
return
|
||||
. = ..()
|
||||
|
||||
/obj/machinery/message_server/Destroy()
|
||||
GLOB.message_servers -= src
|
||||
|
||||
Reference in New Issue
Block a user