mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Makes it so that datums can take entity inputs too (#61930)
Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
This commit is contained in:
co-authored by
Watermelon914
parent
9c884e5629
commit
1590ae1f93
@@ -468,7 +468,7 @@ GLOBAL_LIST_EMPTY_TYPED(integrated_circuits, /obj/item/integrated_circuit)
|
||||
return TRUE
|
||||
|
||||
if(params["marked_atom"])
|
||||
if(port.datatype != PORT_TYPE_ATOM && port.datatype != PORT_TYPE_ANY)
|
||||
if(!(port.datatype_handler.datatype_flags & DATATYPE_FLAG_ALLOW_ATOM_INPUT))
|
||||
return
|
||||
var/obj/item/multitool/circuit/marker = usr.get_active_held_item()
|
||||
// Let's admins upload marked datums to an entity port.
|
||||
|
||||
Reference in New Issue
Block a user