translated code to English and a few bug fixes from latest alpha

This commit is contained in:
Tercio Jose
2023-06-21 17:27:58 -03:00
parent a2c5e926c9
commit 9fb2b0d66b
36 changed files with 3523 additions and 2679 deletions
+2 -1
View File
@@ -273,7 +273,8 @@ function SlashCmdList.DETAILS (msg, editbox)
local segmentId = rest and tonumber(rest)
if (segmentId and segmentId ~= 1) then
local segmentToErase = tonumber(segmentId)
local combatObject = tremove(Details.tabela_historico.tabelas, segmentToErase)
local combatObject = table.remove(Details:GetCombatSegments(), segmentToErase)
if (combatObject) then
Details:DestroyCombat(combatObject)
Details:SendEvent("DETAILS_DATA_SEGMENTREMOVED")