diff --git a/cannon.lua b/cannon.lua index 8ac3d70..640228a 100644 --- a/cannon.lua +++ b/cannon.lua @@ -44,7 +44,7 @@ local register_spacecannon = function(def) local node = minetest.get_node(pos) if node.name == "air" or node.name == "vacuum:vacuum" then - local objs = minetest.get_objects_inside_radius({x=pos.x,y=pos.y,z=pos.z}, 3) + local objs = minetest.get_objects_inside_radius({x=pos.x,y=pos.y,z=pos.z}, 1) local collided = false for k, obj in pairs(objs) do if obj:get_luaentity() ~= nil and obj:get_luaentity().name ~= self.name then