From c80d650bba0efba0b1d51df7289686ce8fb77511 Mon Sep 17 00:00:00 2001 From: Stefan Breunig Date: Thu, 21 Feb 2013 00:27:12 +0100 Subject: [PATCH] player tracker ignored destroy resonators, even though it should only ignore destroyed links. Fixes #238 --- plugins/player-tracker.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/player-tracker.user.js b/plugins/player-tracker.user.js index 56eba212..aec1abdf 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.2 +// @version 0.3 // @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 @@ -79,7 +79,7 @@ window.plugin.playerTracker.processNewData = function(data) { // 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') !== -1) { + if(markup[1].plain.indexOf('destroyed the Link') !== -1) { skipThisMessage = true; return false; }