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:
Watermelon914
2021-10-10 03:36:25 -07:00
committed by GitHub
co-authored by Watermelon914
parent 9211ddbe31
commit 0ebf4891ad
5 changed files with 90 additions and 44 deletions
+4
View File
@@ -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"]