Only try to fill in resources if there are any