1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-06-29 06:40:37 +02:00

A few more fixes (spamming the commit log again...)

This commit is contained in:
Novatux
2013-12-21 11:11:36 +01:00
parent 5a2d57b485
commit 10cf11e008
4 changed files with 173 additions and 174 deletions

View File

@ -39,7 +39,7 @@ pipeworks.check_for_inflows = function(pos,node)
local name = minetest.get_node(coords[i]).name
if name and (name == "pipeworks:pump_on" and pipeworks.check_for_liquids(coords[i])) or string.find(name,"_loaded") then
if string.find(name,"_loaded") then
local source = minetest.get_meta(coords[i]):get_string("source")
source = minetest.get_meta(coords[i]):get_string("source")
if source == minetest.pos_to_string(pos) then break end
end
newnode = string.gsub(node.name,"empty","loaded")