remove check for portal guid type. completely unnecessaty now - only portals will evewr be in this object
This commit is contained in:
parent
203ea7a76e
commit
2eea5a3502
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user