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:
parent
39e4608c4e
commit
1ac5158dcf
@ -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 = {
|
||||
|
@ -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],
|
||||
|
Loading…
x
Reference in New Issue
Block a user