Fix modular consoles by having a list ready

processors try to add components to the list on Initialize()
list probably doesnt exist yet due to vOv

Fixes #28745
This commit is contained in:
some dumbass
2017-06-25 17:45:26 -07:00
parent df10933abc
commit 81a017d353

View File

@@ -49,14 +49,15 @@
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)
if(!physical)
physical = src
comp_light_color = "#FFFFFF"
all_components = list()
idle_threads = list()
update_icon()