Bug Fixed

This commit is contained in:
Tercio Jose
2023-07-18 18:19:38 -03:00
parent bfbe4ca852
commit bfdce8071b
6 changed files with 29 additions and 592 deletions
+11 -2
View File
@@ -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