mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Move list() out of New()
This commit is contained in:
@@ -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.
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user