container_segments 424 error: now it is ensuring to wipe the combatObject that got removed from containerSegments

This commit is contained in:
Tercio Jose
2023-06-06 17:36:13 -03:00
parent c7a1e06638
commit 0c397b5816
16 changed files with 97 additions and 71 deletions
+3 -3
View File
@@ -8981,13 +8981,13 @@ end
gameCooltip:AddLine(Loc["STRING_ERASE_DATA_OVERALL"], nil, 1, "white", nil, Details.font_sizes.menus, Details.font_faces.menus)
gameCooltip:AddIcon([[Interface\Buttons\UI-StopButton]], 1, 1, 14, 14, 0, 1, 0, 1, "orange")
gameCooltip:AddMenu(1, Details.tabela_historico.resetar_overall)
gameCooltip:AddMenu(1, Details.tabela_historico.ResetOverallData)
gameCooltip:AddLine("$div", nil, 1, nil, -5, -11)
gameCooltip:AddLine(Loc["STRING_ERASE_DATA"], nil, 1, "white", nil, Details.font_sizes.menus, Details.font_faces.menus)
gameCooltip:AddIcon([[Interface\Buttons\UI-StopButton]], 1, 1, 14, 14, 0, 1, 0, 1, "red")
gameCooltip:AddMenu(1, Details.tabela_historico.resetar)
gameCooltip:AddMenu(1, Details.tabela_historico.ResetAllCombatData)
show_anti_overlap(self.instance, self, "top")
@@ -9720,7 +9720,7 @@ function gump:CriaCabecalho (baseframe, instancia)
end
else
if (not Details.disable_reset_button) then
Details.tabela_historico:resetar()
Details.tabela_historico:ResetAllCombatData()
else
Details:Msg(Loc["STRING_OPTIONS_DISABLED_RESET"])
end