Quantcast

Fixed Raid detection.

Taracque [08-29-12 - 11:36]
Fixed Raid detection.
Filename
Elementarist.lua
Elementarist.toc
diff --git a/Elementarist.lua b/Elementarist.lua
index 5f16a81..8fcedcb 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -1,5 +1,5 @@
 -------------------------------------------------------------------------------
--- Elementarist 2.9.0
+-- Elementarist 2.9.1
 --
 -- 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.9.0'
+Elementarist.versionNumber = '2.9.1'
 Elementarist.playerName = UnitName("player")
 Elementarist.playerGUID = UnitGUID("player")
 Elementarist.targetGUID = nil
@@ -281,7 +281,7 @@ function Elementarist:detectTalent()
 end

 function Elementarist:PlayerInParty()
-	if (IsInRaid()>0) then
+	if (IsInRaid()) then
 		return 2
 	elseif (GetNumGroupMembers()>0) then
 		return 1
diff --git a/Elementarist.toc b/Elementarist.toc
index d5d3360..c52f02d 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.9.0
+## Version: 2.9.1
 ## SavedVariables: ElementaristDB
 ## OptionalDeps: OmniCC, SpellFlash
 ## Dependencies: