From ce9fe75499328fb85f0580669eef8a8b4b35dba0 Mon Sep 17 00:00:00 2001 From: "n3ophyt3@gmail.com" Date: Sat, 19 Mar 2011 19:22:05 +0000 Subject: [PATCH] R&D consoles now automatically push their research levels to the centcomm master server so that wild griffins can no longer screw over researchers that don't mash the sync button. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1212 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/research/rdconsole.dm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/game/research/rdconsole.dm b/code/game/research/rdconsole.dm index 50aa94f4124..8b0198f08be 100644 --- a/code/game/research/rdconsole.dm +++ b/code/game/research/rdconsole.dm @@ -126,6 +126,14 @@ won't update every console in existence) but it's more of a hassle to do. Also, initialize() SyncRDevices() + process() + for(var/obj/machinery/r_n_d/server/centcom/C in world) //have it automatically push research to the centcomm server so wild griffins can't fuck up R&D's work --NEO + for(var/datum/tech/T in files.known_tech) + C.files.AddTech2Known(T) + for(var/datum/design/D in files.known_designs) + C.files.AddDesign2Known(D) + C.files.RefreshResearch() + attackby(var/obj/item/weapon/D as obj, var/mob/user as mob) //The construction/deconstruction of the console code. if(istype(D, /obj/item/weapon/screwdriver))