diff --git a/api.lua b/api.lua index 57f7f65..c1cb20a 100644 --- a/api.lua +++ b/api.lua @@ -408,11 +408,8 @@ industrialtest.api.createNetworkMap=function(pos,addCables,omit) side=sides[sideVector.x..","..sideVector.y..","..sideVector.z], sourceSide=worker.sourceSide }) - if not sides[sideVector.x..","..sideVector.y..","..sideVector.z] then - minetest.debug(minetest.serialize(worker.position)) - end if #connections==1 then - table.remove(workers,i) + foundNewNode=false break end end