- more fixes to #187 ticket.

This commit is contained in:
Tercio
2017-05-09 13:52:54 -03:00
parent 02d189c149
commit b8cab8ca2b
2 changed files with 4 additions and 4 deletions
+3 -3
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -2684,7 +2684,7 @@ function gump:CriaJanelaInfo()
end
table.sort (player_2_spells_sorted, _detalhes.Sort2)
player_2_top = player_2_spells_sorted [1] [2]
player_2_top = (player_2_spells_sorted [1] and player_2_spells_sorted [1] [2]) or 0
--se não existir uma magia no jogador e o jogador tiver um pet, ele não vai encontrar um valor em [1] e dar
-- ~pet
player_2_spell_info = {}