local players = minetest.get_connected_players()
if #players then
for _,p in ipairs(players) do
local x, y, z = get_player_pos(p)
local sector = find_containing_sector(class, x, y, z)
if not sector then
Queue.push_back(sector_seeds, {x,y,z, nil,0})
should_refresh_distances = true
else
local distance = sector.distance
if distance == nil or distance > 0 then
should_refresh_distances = true
end
end
end
end