remove raw from portal details - not something best to encourage access to

comments concerning new data[10] index in map data
This commit is contained in:
Jon Atkins 2015-02-11 23:05:08 +00:00
parent 39e4608c4e
commit 1ac5158dcf
2 changed files with 3 additions and 2 deletions

View File

@ -245,6 +245,7 @@ window.Render.prototype.createPortalEntity = function(ent) {
image: ent[2][7],
title: ent[2][8],
ornaments: ent[2][9]
// and a new ent[2][10] ??? - maybe mission markers for portals?
};
var dataOptions = {

View File

@ -50,13 +50,13 @@ var handleResponse = function(guid, data, success) {
};
}
if (data.error || !data.result) {
if (!data || data.error || !data.result) {
success = false;
}
if (success) {
var dict = {
raw: data.result,
// raw: data.result,
type: data.result[0],
team: data.result[1],
latE6: data.result[2],