comparator read voltage from opaque blockse
This commit is contained in:
parent
fa760f4704
commit
a061fbf611
|
@ -178,7 +178,9 @@ local function comparator_desired_on(pos, node)
|
|||
local voltage = 0
|
||||
if back_rule then
|
||||
local back_pos = vector.add(pos, back_rule)
|
||||
local _, vo_back = mesecon.is_power_on(back_pos)
|
||||
--local _, vo_back = mesecon.is_power_on(back_pos)
|
||||
local _, _, vo_back = mesecon.is_powered(back_pos)
|
||||
|
||||
|
||||
local vo_coin = container_inventory_nonempty(back_pos)
|
||||
|
||||
|
|
Loading…
Reference in New Issue