- Garbage collector won't clear actors in mythic dungeon segments.

This commit is contained in:
Tercioo
2019-03-11 21:41:55 -03:00
parent 7c8c2aa1d8
commit a6f56c46ad
3 changed files with 24 additions and 3 deletions
+7
View File
@@ -1355,9 +1355,16 @@
local energy_container = _detalhes.tabela_vigente [3]
local misc_container = _detalhes.tabela_vigente [4]
local mythicDungeonRun = _detalhes.tabela_vigente.is_mythic_dungeon_segment
for class_type, container in _ipairs ({damage_container, healing_container}) do
for _, actor in _ipairs (container._ActorTable) do
if (mythicDungeonRun) then
actor.fight_component = true
end
if (actor.grupo) then
if (class_type == 1 or class_type == 2) then
for target_name, amount in _pairs (actor.targets) do