bunch of global vars (#19091)

* bunch of global vars

* .
This commit is contained in:
Kashargul
2026-01-25 13:18:03 -08:00
committed by GitHub
parent 2f810d0f3e
commit de17517e42
92 changed files with 328 additions and 438 deletions
+7 -7
View File
@@ -7,24 +7,24 @@
if(!holder) return
if(!xenobio_controller || !xenobio_controller.gene_tag_masks)
if(!GLOB.xenobio_controller || !GLOB.xenobio_controller.gene_tag_masks)
to_chat(usr, "Gene masks not set.")
return
for(var/mask in xenobio_controller.gene_tag_masks)
to_chat(usr, "[mask]: [xenobio_controller.gene_tag_masks[mask]]")
for(var/mask in GLOB.xenobio_controller.gene_tag_masks)
to_chat(usr, "[mask]: [GLOB.xenobio_controller.gene_tag_masks[mask]]")
var/global/datum/controller/xenobio/xenobio_controller // Set in New().
GLOBAL_DATUM(xenobio_controller, /datum/controller/xenobio)
/datum/controller/xenobio
var/list/gene_tag_masks = list() // Gene obfuscation for delicious trial and error goodness.
/datum/controller/xenobio/New()
if(xenobio_controller && xenobio_controller != src)
if(GLOB.xenobio_controller && GLOB.xenobio_controller != src)
log_runtime("Rebuilding xenobio controller.")
qdel(xenobio_controller)
xenobio_controller = src
qdel(GLOB.xenobio_controller)
GLOB.xenobio_controller = src
setup()