[uniques] don't detect unique captures from portal details
(Viruses don't count for uniques)
This commit is contained in:
		| @@ -51,10 +51,6 @@ window.plugin.uniques.onPortalDetailsUpdated = function() { | ||||
| 		details = portalDetail.get(guid), | ||||
| 		nickname = window.PLAYER.nickname; | ||||
| 	if(details) { | ||||
| 		if(details.owner == nickname) { | ||||
| 			plugin.uniques.updateCaptured(true); | ||||
| 			// no further logic required | ||||
| 		} else { | ||||
| 		function installedByPlayer(entity) { | ||||
| 			return entity && entity.owner == nickname; | ||||
| 		} | ||||
| @@ -63,7 +59,6 @@ window.plugin.uniques.onPortalDetailsUpdated = function() { | ||||
| 			plugin.uniques.updateVisited(true); | ||||
| 		} | ||||
| 	} | ||||
| 	} | ||||
|  | ||||
| 	$('#portaldetails > .imgpreview').after(plugin.uniques.contentHTML); | ||||
| 	plugin.uniques.updateCheckedAndHighlight(guid); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user