Commit e6ad8a5e authored by nanahira's avatar nanahira

fix

parent d2c2ad34
...@@ -107,7 +107,7 @@ public class MyCardHelper { ...@@ -107,7 +107,7 @@ public class MyCardHelper {
public static void DownloadFace(string name) { public static void DownloadFace(string name) {
try { try {
WWW www = new WWW("https://api.moecube.com/accounts/users/"+Web.HttpUtility.UrlEncode(name)+".avatar"); WWW www = new WWW("https://api.moecube.com/accounts/users/"+System.Web.HttpUtility.UrlEncode(name)+".avatar");
while (!www.isDone) { while (!www.isDone) {
if (Application.internetReachability == NetworkReachability.NotReachable || !string.IsNullOrEmpty(www.error)) if (Application.internetReachability == NetworkReachability.NotReachable || !string.IsNullOrEmpty(www.error))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment