Fixed atmosphere function

This commit is contained in:
ezhh 2016-09-29 00:12:34 +01:00
parent f630e19510
commit 6e4de4d91e

View File

@ -88,8 +88,8 @@ local np_satmos = {
-- On dignode function. Atmosphere flows into a dug hole. -- On dignode function. Atmosphere flows into a dug hole.
minetest.register_on_dignode(function(pos, oldnode, digger) minetest.register_on_dignode(function(pos, oldnode, digger)
if minetest.find_node_near(pos, 1, {"other_worlds:atmos"}) then if minetest.find_node_near(pos, 1, {"asteroid:atmos"}) then
minetest.set_node(pos, {name = "other_worlds:atmos"}) minetest.set_node(pos, {name = "asteroid:atmos"})
end end
end) end)