Fix for list pin in integrated circuits (#32811)
* Update lists.dm * Update pins.dm * Update list_pin.dm * Update power.dm * Update input.dm * Update pins.dm * Update list_pin.dm * Update input.dm * Update lists.dm * Update power.dm * Update input.dm * Update power.dm
This commit is contained in:
committed by
CitadelStationBot
parent
c4eb49994f
commit
15c65004ca
@@ -115,7 +115,7 @@ list[](
|
||||
holder.on_data_written()
|
||||
else if(islist(new_data))
|
||||
var/list/new_list = new_data
|
||||
data = new_list.Copy(1,min( IC_MAX_LIST_LENGTH+1, new_list.len ))
|
||||
data = new_list.Copy(max(1,new_list.len - IC_MAX_LIST_LENGTH+1),0)
|
||||
holder.on_data_written()
|
||||
|
||||
/datum/integrated_io/proc/push_data()
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
/datum/integrated_io/lists/write_data_to_pin(var/new_data)
|
||||
if(islist(new_data))
|
||||
var/list/new_list = new_data
|
||||
data = new_list.Copy(1,min( IC_MAX_LIST_LENGTH+1, new_list.len ))
|
||||
data = new_list.Copy(max(1,new_list.len - IC_MAX_LIST_LENGTH+1),0)
|
||||
holder.on_data_written()
|
||||
|
||||
/datum/integrated_io/lists/display_pin_type()
|
||||
|
||||
Reference in New Issue
Block a user