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
This commit is contained in:
n3ophyt3@gmail.com
2011-03-19 19:22:05 +00:00
parent 8c677acd8b
commit ce9fe75499

View File

@@ -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))