Bug Fixed
This commit is contained in:
+11
-2
@@ -1908,8 +1908,17 @@
|
||||
end
|
||||
|
||||
if (not bForceRefresh) then --update player details window if opened
|
||||
if (breakdownWindowFrame.ativo) then
|
||||
return breakdownWindowFrame.jogador:MontaInfo()
|
||||
if (Details.BreakdownWindowFrame:IsShown()) then
|
||||
---@type actor
|
||||
local actorObject = Details:GetActorObjectFromBreakdownWindow()
|
||||
if (actorObject and not actorObject.__destroyed) then
|
||||
return actorObject:MontaInfo() --MontaInfo a nil value
|
||||
else
|
||||
Details:Msg("Invalid actor object on breakdown window.")
|
||||
if (actorObject.__destroyed) then
|
||||
Details:Msg("Invalidation Reason:", actorObject.__destroyedBy)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
return
|
||||
|
||||
+8
-3
@@ -639,7 +639,7 @@ local classTypeUtility = Details.atributos.misc
|
||||
end
|
||||
end
|
||||
|
||||
---start/restart the internal garbage collector runtime
|
||||
---start/restart the internal garbage collector runtime ~garbage
|
||||
---@param bShouldForceCollect boolean if true, the garbage collector will run regardless of the time interval
|
||||
---@param lastEvent unixtime no call is passing lastEvent at the moment
|
||||
function Details222.GarbageCollector.RestartInternalGarbageCollector(bShouldForceCollect, lastEvent)
|
||||
@@ -797,13 +797,18 @@ local classTypeUtility = Details.atributos.misc
|
||||
end
|
||||
|
||||
actorContainer:Cleanup()
|
||||
|
||||
--refresh the breakdown window
|
||||
if (Details.BreakdownWindowFrame:IsShown()) then
|
||||
Details222.BreakdownWindow.RefreshPlayerScroll()
|
||||
end
|
||||
end
|
||||
|
||||
actorContainer.need_refresh = true
|
||||
end
|
||||
end --end of containerId loop
|
||||
|
||||
return amountCleaned
|
||||
end
|
||||
end --end of collectGarbage function
|
||||
|
||||
---run the garbage collector
|
||||
---@param overriteLastEvent unixtime
|
||||
|
||||
Reference in New Issue
Block a user