From d97bb2d85d07606c8bac5714bd2d75b0f82403b5 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Mon, 26 Jun 2017 22:02:01 -0500 Subject: [PATCH] Fix modular consoles --- .../modular_computers/computers/item/computer.dm | 2 +- .../modular_computers/computers/item/computer.dm.rej | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 code/modules/modular_computers/computers/item/computer.dm.rej diff --git a/code/modules/modular_computers/computers/item/computer.dm b/code/modules/modular_computers/computers/item/computer.dm index 32513d0405..74a0afeb95 100644 --- a/code/modules/modular_computers/computers/item/computer.dm +++ b/code/modules/modular_computers/computers/item/computer.dm @@ -39,7 +39,7 @@ // Optional hardware (improves functionality, but is not critical for computer to work) - var/list/all_components // List of "connection ports" in this computer and the components with which they are plugged + var/list/all_components = list() // List of "connection ports" in this computer and the components with which they are plugged var/list/idle_threads // Idle programs on background. They still receive process calls but can't be interacted with. var/obj/physical = null // Object that represents our computer. It's used for Adjacent() and UI visibility checks. diff --git a/code/modules/modular_computers/computers/item/computer.dm.rej b/code/modules/modular_computers/computers/item/computer.dm.rej new file mode 100644 index 0000000000..3e3d3b670c --- /dev/null +++ b/code/modules/modular_computers/computers/item/computer.dm.rej @@ -0,0 +1,11 @@ +diff a/code/modules/modular_computers/computers/item/computer.dm b/code/modules/modular_computers/computers/item/computer.dm (rejected hunks) +@@ -49,9 +49,6 @@ + var/comp_light_color //The color of that light + + +-/obj/item/device/modular_computer/New() +- all_components = list() +- + /obj/item/device/modular_computer/Initialize() + . = ..() + START_PROCESSING(SSobj, src)