Error syntax

This commit is contained in:
Jat 2012-08-29 22:03:57 +02:00
parent e10bff62f0
commit 62a7a1eb8f
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ function mesecon:mvps_push(pos, direction) -- pos: pos of mvps; direction: direc
local lnode = minetest.env:get_node(lpos)
local newnode
minetest.env:remove_node(lpos)
while not(lnode.name == "ignore" or lnode.name == "air" or string.find(lnode.name, "_source") or string.find(lnode.name, "_flowing") do
while not(lnode.name == "ignore" or lnode.name == "air" or string.find(lnode.name, "_source") or string.find(lnode.name, "_flowing")) do
lpos.x=lpos.x+direction.x
lpos.y=lpos.y+direction.y
lpos.z=lpos.z+direction.z

View File

@ -130,7 +130,7 @@ mesecon:register_on_signal_on(function(pos, node)
if checknode.name == "air"
or checknode.name == "ignore"
or string.find(checknode.name, "_source")
or string.find(checknode.name, "_flowing") then
or string.find(checknode.name, "_flowing") then
break
end