Fix modular consoles

This commit is contained in:
CitadelStationBot
2017-06-26 22:02:01 -05:00
parent bd0f0c794b
commit d97bb2d85d
2 changed files with 12 additions and 1 deletions

View File

@@ -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.

View File

@@ -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)