Update Intelligence.lua

Honor settings for clustermarkers
This commit is contained in:
Applevangelist 2021-02-21 19:55:48 +01:00 committed by GitHub
parent 43680c2fc3
commit 11cdae098b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -810,16 +810,17 @@ function INTEL:PaintPicture()
-- Update F10 marker text if cluster has changed.
for _,_cluster in pairs(self.Clusters) do
local cluster=_cluster --#INTEL.Cluster
if self.clustermarkers then --honor markersettings
for _,_cluster in pairs(self.Clusters) do
local cluster=_cluster --#INTEL.Cluster
local coordinate=self:GetClusterCoordinate(cluster)
local coordinate=self:GetClusterCoordinate(cluster)
-- Update F10 marker.
self:UpdateClusterMarker(cluster)
-- Update F10 marker.
self:UpdateClusterMarker(cluster)
end
end
end
--- Create a new cluster.