tracking: only remove icon when nothing is tracked

This commit is contained in:
shagu
2017-12-18 17:05:17 +01:00
parent cbc9d23874
commit 423ad332ae
+2 -2
View File
@@ -68,8 +68,8 @@ pfUI:RegisterModule("tracking", function ()
this.icon:SetTexture(texture)
this.icon:SetVertexColor(1,1,1,1)
this:Show()
else
state.texture = texture
elseif not texture then
state.texture = nil
if config.pulse and table.getn(state.spells) > 0 then
this.pulse = true