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