player tracker ignored destroy resonators, even though it should only ignore destroyed links. Fixes #238
This commit is contained in:
parent
785be63d33
commit
c80d650bba
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user