Makes all global variables handled by the GLOB controller (#13152)

* Handlers converted, now to fix 3532 compile errors

* 3532 compile fixes later, got runtimes on startup

* Well the server loads now atleast

* Take 2

* Oops
This commit is contained in:
AffectedArc07
2020-03-21 03:56:37 +00:00
committed by GitHub
parent c8dbd0190e
commit 210f8badf4
667 changed files with 4243 additions and 4240 deletions
@@ -289,7 +289,7 @@
if(!get_ntnet_status())
return FALSE
var/obj/item/computer_hardware/network_card/network_card = all_components[MC_NET]
return ntnet_global.add_log(text, network_card)
return GLOB.ntnet_global.add_log(text, network_card)
/obj/item/modular_computer/proc/shutdown_computer(loud = 1)
if(enabled)
@@ -1,5 +1,5 @@
// Global var to track modular computers
var/list/global_modular_computers = list()
GLOBAL_LIST_EMPTY(global_modular_computers)
// Modular Computer - device that runs various programs and operates with hardware
// DO NOT SPAWN THIS TYPE. Use /laptop/ or /console/ instead.
@@ -34,7 +34,7 @@ var/list/global_modular_computers = list()
..()
cpu = new(src)
cpu.physical = src
global_modular_computers.Add(src)
GLOB.global_modular_computers.Add(src)
/obj/machinery/modular_computer/Destroy()
QDEL_NULL(cpu)