remove check for portal guid type. completely unnecessaty now - only portals will evewr be in this object

This commit is contained in:
Jon Atkins 2013-09-03 16:55:29 +01:00
parent 203ea7a76e
commit 2eea5a3502

View File

@ -261,9 +261,6 @@ window.plugin.apList.updateSortedPortals = function() {
plugin.apList.cachedPortals = {};
$.each(window.portals, function(key, value) {
if(getTypeByGuid(key) !== TYPE_PORTAL)
return true;
var portal = value.options.details;
var cachedPortal = oldcachedPortal[key];
// If portal is changed, update playerApGain with latest