Update GenerateEnemies

Fixed minor null warning