Fixed an issue where sometimes exporting a profile wouldn't work

This commit is contained in:
Tercio Jose
2021-03-15 14:43:03 -03:00
parent 089497782e
commit c6e17b199e
4 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -95,8 +95,8 @@ function historico:adicionar_overall (tabela)
tinsert (_detalhes.tabela_overall.segments_added, 1, {name = combatName, elapsed = combatTime, clock = this_clock, type = combatType})
if (#_detalhes.tabela_overall.segments_added > 30) then
tremove (_detalhes.tabela_overall.segments_added, 31)
if (#_detalhes.tabela_overall.segments_added > 40) then
tremove (_detalhes.tabela_overall.segments_added, 41)
end
if (_detalhes.debug) then