fixed plugins_statusbar error
This commit is contained in:
parent
aaab652817
commit
bf5b3c0dda
2 changed files with 2 additions and 1 deletions
|
|
@ -41,6 +41,7 @@
|
|||
---@field alternate_power table<actorname, alternatepowertable>
|
||||
---@field totals {key1: table, key2: table, key3: table, key3: table}
|
||||
---@field totals_grupo {key1: table, key2: table, key3: table, key3: table}
|
||||
---@field __destroyed boolean
|
||||
---@field GetPhases fun(combat: combat) : table
|
||||
---@field GetCombatTime fun(combat) : number
|
||||
---@field GetDeaths fun(combat) : table --get the table which contains the deaths of the combat
|
||||
|
|
|
|||
|
|
@ -901,7 +901,7 @@ do
|
|||
if (childObject.enabled and instance:IsEnabled()) then
|
||||
---@type combat
|
||||
local combatObject = instance:GetCombat()
|
||||
if (combatObject and ((instance:GetSegmentId() ~= DETAILS_SEGMENTID_OVERALL) or (instance:GetSegmentId() == DETAILS_SEGMENTID_OVERALL and not Details.in_combat) or force)) then
|
||||
if (combatObject and not combatObject.__destroyed and ((instance:GetSegmentId() ~= DETAILS_SEGMENTID_OVERALL) or (instance:GetSegmentId() == DETAILS_SEGMENTID_OVERALL and not Details.in_combat) or force)) then
|
||||
local timeType = childObject.options.timeType
|
||||
if (timeType == 1) then
|
||||
local combatTime = combatObject:GetCombatTime()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue