fix index of portal in new format COMM entries
This commit is contained in:
parent
ed0cedfc81
commit
757a2a2c0e
@ -102,7 +102,7 @@ window.plugin.uniques.onPublicChatDataAvailable = function(data) {
|
||||
&& markup[1][1].plain == ' deployed a Resonator on '
|
||||
&& markup[2][0] == 'PORTAL') {
|
||||
// search for "x deployed a Resonator on z"
|
||||
var portal = markup[4][1];
|
||||
var portal = markup[2][1];
|
||||
var guid = window.findPortalGuidByPositionE6(portal.latE6, portal.lngE6);
|
||||
if(guid) plugin.uniques.setPortalVisited(guid);
|
||||
} else if(plext.plextType == 'SYSTEM_BROADCAST'
|
||||
|
Loading…
x
Reference in New Issue
Block a user