Legislature passed gains for wildlife and habitat