- attempt to fix the argus encounter double segments.

This commit is contained in:
Tercio
2017-12-06 20:37:04 -02:00
parent 817d847eb1
commit 32d03526da
5 changed files with 42 additions and 12 deletions
+8
View File
@@ -4009,6 +4009,14 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
end
end
--> wipe encounter data if changing map while the encounter table is poiting to argus encounter ~REMOVE on 8.0
if (_detalhes.encounter_table and _detalhes.encounter_table.id == 2092) then
_table_wipe (_detalhes.encounter_table)
if (_detalhes.debug) then
_detalhes:Msg ("(debug) map changed with encounter table pointing to argus encounter, wiping the encounter table.")
end
end
_detalhes.time_type = _detalhes.time_type_original
_detalhes:CheckChatOnZoneChange (zoneType)