Conversion many Globals to Managed Globals (Part 1) (#17121)

* Conversion of some Globals to Managed Globals

* Fix

* for later

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
Selis
2025-04-17 14:16:53 -04:00
committed by GitHub
co-authored by Kashargul
parent 6a47a779d5
commit 21dcf0555b
229 changed files with 1227 additions and 1220 deletions
+4 -4
View File
@@ -389,7 +389,7 @@
"Quit This Round",list("Quit Round","No"))
if(extra_check == "Quit Round")
//Update any existing objectives involving this mob.
for(var/datum/objective/O in all_objectives)
for(var/datum/objective/O in GLOB.all_objectives)
if(O.target == mind)
if(O.owner && O.owner.current)
to_chat(O.owner.current,span_warning("You get the feeling your target is no longer within your reach..."))
@@ -409,8 +409,8 @@
mind.special_role = null
//Cut the PDA manifest (ugh)
if(PDA_Manifest.len)
PDA_Manifest.Cut()
if(GLOB.PDA_Manifest.len)
GLOB.PDA_Manifest.Cut()
for(var/datum/data/record/R in data_core.medical)
if((R.fields["name"] == real_name))
qdel(R)
@@ -479,7 +479,7 @@
var/list/targets = list()
targets += observe_list_format(nuke_disks)
targets += observe_list_format(GLOB.nuke_disks)
targets += observe_list_format(all_singularities)
targets += getmobs()
targets += observe_list_format(sortAtom(mechas_list))