mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- Fixed PVP icon showing up as a green square for Pandaren who have not yet chosen a faction. This fix applies to TargetHealth and PlayerHealth, but not to DogTag text such as on the TargetInfo frame.
This commit is contained in:
@ -1151,6 +1151,10 @@ function PlayerHealth.prototype:CheckPvP()
|
||||
minx, maxx, miny, maxy = 0.05, 0.605, 0.015, 0.57
|
||||
elseif UnitIsPVP(self.unit) then
|
||||
pvpMode = UnitFactionGroup(self.unit)
|
||||
|
||||
if pvpMode == "Neutral" then
|
||||
pvpMode = "FFA"
|
||||
end
|
||||
|
||||
if pvpMode == "Alliance" then
|
||||
minx, maxx, miny, maxy = 0.07, 0.58, 0.06, 0.57
|
||||
|
Reference in New Issue
Block a user