mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Admins can now save custom shells (#61307)
Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
This commit is contained in:
co-authored by
Watermelon914
parent
6fdd289ecf
commit
6497a97a89
@@ -109,6 +109,8 @@ GLOBAL_LIST_INIT(circuit_dupe_whitelisted_types, list(
|
||||
|
||||
port.connect(output_port)
|
||||
|
||||
SEND_SIGNAL(src, COMSIG_CIRCUIT_POST_LOAD)
|
||||
|
||||
#undef LOG_ERROR
|
||||
|
||||
/// Converts a circuit into json.
|
||||
@@ -181,6 +183,8 @@ GLOBAL_LIST_INIT(circuit_dupe_whitelisted_types, list(
|
||||
variables += list(new_data)
|
||||
general_data["variables"] = variables
|
||||
|
||||
SEND_SIGNAL(src, COMSIG_CIRCUIT_PRE_SAVE_TO_JSON, general_data)
|
||||
|
||||
return json_encode(general_data)
|
||||
|
||||
/obj/item/integrated_circuit/proc/load_component(type)
|
||||
|
||||
Reference in New Issue
Block a user