mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 22:18:27 +01:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user