mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-02 13:34:49 +00:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user