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