Bugfix: When an enemy with FS debuff on it dies, it no longer throws an error
Taracque [12-02-11 - 11:39]
Bugfix: When an enemy with FS debuff on it dies, it no longer throws an error
diff --git a/Change_log.txt b/Change_log.txt
index 8d7aa42..e0eea68 100755
--- a/Change_log.txt
+++ b/Change_log.txt
@@ -1,3 +1,6 @@
+**v2.0.6**
+* Bugfix: When an enemy with FS debuff on it dies, it no longer throws an error
+
**v2.0.5**
* Change: 4.3 compatibility
diff --git a/Elementarist.lua b/Elementarist.lua
index f77e453..93e0831 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -1,5 +1,5 @@
-------------------------------------------------------------------------------
--- Elementarist 2.0.5
+-- Elementarist 2.0.6
--
-- Shows the advised spell for an elemental shaman for optimal DPS output.
-------------------------------------------------------------------------------
@@ -8,7 +8,7 @@ Elementarist = {Locals = {}}
local L = Elementarist.Locals
-Elementarist.versionNumber = '2.0.5'
+Elementarist.versionNumber = '2.0.6'
Elementarist.playerName = UnitName("player")
Elementarist.playerGUID = UnitGUID("player")
Elementarist.targetGUID = nil
@@ -307,7 +307,7 @@ function Elementarist:RemoveFromTables(guid)
Elementarist:Debug('Enemy died:', Elementarist.person["foeCount"] .. " " .. guid)
end
if (Elementarist.debuffCooldowns[guid]) then
- table.remove(Elementarist.debuffCooldowns, guid)
+ Elementarist.debuffCooldowns[guid]=nil
Elementarist:UpdateDebuffTracker()
end
end
diff --git a/Elementarist.toc b/Elementarist.toc
index e8bd7a3..201e91c 100755
--- a/Elementarist.toc
+++ b/Elementarist.toc
@@ -2,7 +2,7 @@
## Title: Elementarist
## Notes: Elemental shaman spell rotation helper
## Author: Taracque, Felmosórongy of Arathor
-## Version: 2.0.5
+## Version: 2.0.6
## SavedVariables: ElementaristDB
## OptionalDeps: OmniCC, SpellFlash
## Dependencies: