fix always-false condition

This commit is contained in:
Evert Prants 2018-12-13 00:15:35 +02:00
parent e3d3ccf2be
commit c1981030c3
No known key found for this signature in database
GPG Key ID: 1688DA83D222D0B5

@ -196,7 +196,7 @@ function fluid_lib.transfer_timer_tick(pos, elapsed)
for i = 1, fl_size do for i = 1, fl_size do
pp[i] = destdef.node_io_get_liquid_name(pos, destnode, "", i) pp[i] = destdef.node_io_get_liquid_name(pos, destnode, "", i)
end end
if not #pp then pp = nil end if #pp == 0 then pp = nil end
end end
end end