Update files
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
/obj/item/circuit_component/proc/add_option_port(name, list/list_to_use)
|
||||
return add_input_port(name, PORT_TYPE_OPTION, port_type = /datum/port/input/option, extra_args = list("possible_options" = list_to_use))
|
||||
|
||||
/obj/item/circuit_component/Initialize()
|
||||
/obj/item/circuit_component/Initialize(mapload)
|
||||
. = ..()
|
||||
if(name == COMPONENT_DEFAULT_NAME)
|
||||
name = "[lowertext(display_name)] [COMPONENT_DEFAULT_NAME]"
|
||||
|
||||
@@ -144,7 +144,7 @@
|
||||
|
||||
density = TRUE
|
||||
|
||||
/obj/machinery/debug_component_printer/Initialize()
|
||||
/obj/machinery/debug_component_printer/Initialize(mapload)
|
||||
. = ..()
|
||||
all_circuit_designs = list()
|
||||
|
||||
|
||||
@@ -69,14 +69,14 @@ GLOBAL_LIST_EMPTY_TYPED(integrated_circuits, /obj/item/integrated_circuit)
|
||||
/// The Y position of the screen. Used for adding components.
|
||||
var/screen_y = 0
|
||||
|
||||
/obj/item/integrated_circuit/Initialize()
|
||||
/obj/item/integrated_circuit/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
GLOB.integrated_circuits += src
|
||||
|
||||
RegisterSignal(src, COMSIG_ATOM_USB_CABLE_TRY_ATTACH, .proc/on_atom_usb_cable_try_attach)
|
||||
|
||||
/obj/item/integrated_circuit/loaded/Initialize()
|
||||
/obj/item/integrated_circuit/loaded/Initialize(mapload)
|
||||
. = ..()
|
||||
set_cell(new /obj/item/stock_parts/cell/high(src))
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
return ..()
|
||||
|
||||
/obj/item/usb_cable/Initialize()
|
||||
/obj/item/usb_cable/Initialize(mapload)
|
||||
. = ..()
|
||||
RegisterSignal(src, COMSIG_MOVABLE_MOVED, .proc/on_moved)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user