diff --git a/README.md b/README.md index 6b0c3c23..b7675bfe 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ Please do! [saithis](https://github.com/saithis), [Scrool](https://github.com/Scrool), [sorgo](https://github.com/sorgo), +[tpenner](https://github.com/tpenner), [vita10gy](https://github.com/vita10gy), [Xelio](https://github.com/Xelio), [ZauberNerd](https://github.com/ZauberNerd) diff --git a/plugins/player-tracker.user.js b/plugins/player-tracker.user.js index 6a2cb50c..08cf3bdf 100644 --- a/plugins/player-tracker.user.js +++ b/plugins/player-tracker.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @id iitc-plugin-player-tracker@breunigs // @name iitc: player tracker -// @version 0.4 +// @version 0.5 // @namespace https://github.com/breunigs/ingress-intel-total-conversion // @updateURL https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/player-tracker.user.js // @downloadURL https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/player-tracker.user.js @@ -76,10 +76,11 @@ window.plugin.playerTracker.processNewData = function(data) { $.each(json[2].plext.markup, function(ind, markup) { switch(markup[0]) { case 'TEXT': - // Destroy link messages depend on how the link was originally - // created. Therefore it’s not clear which portal the player is - // at, so ignore it. - if(markup[1].plain.indexOf('destroyed the Link') !== -1) { + // Destroy link and field messages depend on where the link or + // field was originally created. Therefore it’s not clear which + // portal the player is at, so ignore it. + if(markup[1].plain.indexOf('destroyed the Link') !== -1 + || markup[1].plain.indexOf('destroyed a Control Field') !== -1) { skipThisMessage = true; return false; }