- Hotfix an initialization issue caused by a stealth patch in the client addon API.

This commit is contained in:
Tercio
2018-08-09 00:39:13 -03:00
parent 2fb29a497d
commit 6ac2c37bef
7 changed files with 84 additions and 8 deletions
+1 -1
View File
@@ -2659,7 +2659,7 @@ local set_text_size = function (bar, instance)
end
--> this is the in bar icon (icon inside the player bar, like faction or role icon) padding, icon has the row height as is width and height - padding
local InBarIconPadding = 0
local InBarIconPadding = 6
--[[ exported]] function _detalhes:SetBarLeftText (bar, instance, enemy, arena_enemy, arena_ally, UsingCustomLeftText)
+9
View File
@@ -247,6 +247,15 @@
end
end
--> pvp duel
if (_detalhes.duel_candidates [serial]) then
--> check if is recent
if (_detalhes.duel_candidates [serial]+20 > GetTime()) then
novo_objeto.grupo = true
novo_objeto.enemy = true
end
end
if (_detalhes.is_in_arena) then
local my_team_color = GetBattlefieldArenaFaction()