Offship RND Servers (#18860)

RND servers and consoles will now only sync with each other if they are
on connected Z-levels. This allows for offship servers and RND equipment
to be mapped in without syncing with or erasing the Horizon's tech
levels.
This commit is contained in:
RustingWithYou
2024-04-07 16:21:32 +00:00
committed by GitHub
parent 45a5e16ff5
commit d2eec222a2
3 changed files with 57 additions and 3 deletions
+4
View File
@@ -100,7 +100,11 @@ won't update every console in existence) but it's more of a hassle to do. Also,
return
/obj/machinery/computer/rdconsole/proc/SyncTechs()
var/turf/turf = get_turf(src)
for(var/obj/machinery/r_n_d/server/S in SSmachinery.machinery)
var/turf/ST = get_turf(S)
if(ST && !AreConnectedZLevels(ST.z, turf.z))
continue
var/server_processed = 0
if((id in S.id_with_upload) || istype(S, /obj/machinery/r_n_d/server/centcom))
for(var/tech_id in files.known_tech)