Easier on resources

master
oilboi 2019-02-01 00:17:42 -05:00
parent bae66117d2
commit ff9e157662
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ tree_fall = function(pos)
data[p_pos] = air
--call to repeat in loop until finished
minetest.add_item({x=pos.x+x, y=pos.y+y, z=pos.z+z},n)
minetest.after(0,function(pos,x,y,z)
minetest.after(0.1,function(pos,x,y,z)
tree_fall({x=pos.x+x, y=pos.y+y, z=pos.z+z})
end,pos,x,y,z)
end