mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
Fixes bugs with admin circuits, expands upon some admin circuit components and fixes duplicator runtiming when a port doesn't exist. (#61948)
Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
This commit is contained in:
co-authored by
Watermelon914
parent
9211ddbe31
commit
0ebf4891ad
@@ -47,6 +47,10 @@ GLOBAL_LIST_INIT(circuit_dupe_whitelisted_types, list(
|
||||
port = port_to_check
|
||||
break
|
||||
|
||||
if(!port)
|
||||
LOG_ERROR(errors, "Port '[port_name]' not found on [component.type] when trying to set it to a value of [port_data["stored_data"]]!")
|
||||
continue
|
||||
|
||||
port.set_input(port_data["stored_data"])
|
||||
|
||||
var/list/external_objects = general_data["external_objects"]
|
||||
|
||||
Reference in New Issue
Block a user