View Single Post
11-26-17, 05:09 PM   #7
Kakjens
A Cliff Giant
Join Date: Apr 2017
Posts: 75
With a use of variable "event" is possible to avoid unnecessary getPlayerColors(unit) calls.
What's the reason for UpdateColor:RegisterEvent("UNIT_FACTION")?
For me it feels that
Lua Code:
  1. PlayerHitIndicator:SetText(nil)
  2. PlayerHitIndicator.SetText = function() end
is a wrong way to hide text due to tainting.
  Reply With Quote