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:
aleksix
2019-12-12 22:52:23 +03:00
committed by Erki
parent 9752e39844
commit 2066d1f3a5
2 changed files with 7 additions and 1 deletions

View File

@@ -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()