Fixed bug when last wolf leaves.