mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
[MIRROR] Fixed USB ports not working [MDB IGNORE] (#16278)
* Fixed USB ports not working (#69920) Co-authored-by: Watermelon914 <3052169-Watermelon914@ users.noreply.gitlab.com> * Fixed USB ports not working Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com> Co-authored-by: Watermelon914 <3052169-Watermelon914@ users.noreply.gitlab.com>
This commit is contained in:
co-authored by
Watermelon914
Watermelon914
parent
beabd51157
commit
e68ee147f7
@@ -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