forgot to check
This commit is contained in:
@@ -666,7 +666,7 @@ public void OnTransferComplete1(HTTPResponse response, any i)
|
||||
|
||||
JSONObject root = view_as<JSONObject>(response.Data);
|
||||
JSONArray maps = view_as<JSONArray>(root.Get("maps"));
|
||||
if (maps == null)
|
||||
if (maps == null || maps.Length == 0)
|
||||
{
|
||||
delete root;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user