mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-28 19:11:22 +00:00
Integrated Circuits PIN_ANY now accepts lists (#7644)
Integrated Circuits that accepted data types of didn't accept lists. Now they do, which allows for list storage and such.
This commit is contained in:
@@ -111,7 +111,7 @@ list[](
|
||||
push_data()
|
||||
|
||||
/datum/integrated_io/proc/write_data_to_pin(var/new_data)
|
||||
if(isnull(new_data) || isnum(new_data) || istext(new_data) || isweakref(new_data)) // Anything else is a type we don't want.
|
||||
if(isnull(new_data) || isnum(new_data) || istext(new_data) || isweakref(new_data) || islist(new_data)) // Anything else is a type we don't want.
|
||||
data = new_data
|
||||
holder.on_data_written()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user