Fixed atmosphere function
This commit is contained in:
parent
f630e19510
commit
6e4de4d91e
@ -88,8 +88,8 @@ local np_satmos = {
|
||||
|
||||
-- On dignode function. Atmosphere flows into a dug hole.
|
||||
minetest.register_on_dignode(function(pos, oldnode, digger)
|
||||
if minetest.find_node_near(pos, 1, {"other_worlds:atmos"}) then
|
||||
minetest.set_node(pos, {name = "other_worlds:atmos"})
|
||||
if minetest.find_node_near(pos, 1, {"asteroid:atmos"}) then
|
||||
minetest.set_node(pos, {name = "asteroid:atmos"})
|
||||
end
|
||||
end)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user