Commit c7f94e73 authored by nanahira's avatar nanahira

fix

parent 103f76b7
...@@ -106,7 +106,7 @@ public class MyCardHelper { ...@@ -106,7 +106,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/"+www.EscapeURL(name, Encoding.UTF8)+".avatar"); WWW www = new WWW("https://api.moecube.com/accounts/users/"+WWW.EscapeURL(name, Encoding.UTF8)+".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