mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Fixed USB ports not working (#69920)
Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
This commit is contained in:
co-authored by
Watermelon914
parent
132ef0414f
commit
8606dd6ff0
@@ -37,6 +37,8 @@
|
||||
var/obj/item/circuit_component/component = circuit_component
|
||||
if(ispath(circuit_component))
|
||||
component = new circuit_component(null)
|
||||
if(!should_register)
|
||||
component.register_usb_parent(parent)
|
||||
RegisterSignal(component, COMSIG_CIRCUIT_COMPONENT_SAVE, .proc/save_component)
|
||||
circuit_components += component
|
||||
|
||||
|
||||
Reference in New Issue
Block a user