Quantcast

little error fixed

Dorwido [11-04-11 - 12:48]
little error fixed
Filename
HealerManaWatch.lua
diff --git a/HealerManaWatch.lua b/HealerManaWatch.lua
index ea3d7d2..c1dc65f 100644
--- a/HealerManaWatch.lua
+++ b/HealerManaWatch.lua
@@ -115,16 +115,19 @@ function f:EventHandler(event,...)
 			f:EnableMod()
 		end
 	elseif(event=="PARTY_MEMBERS_CHANGED") then
+		print("lalala")
 		if UnitInRaid("player") then
 			f:UnregisterEvent("PARTY_MEMBERS_CHANGED"); --no need to use this if in raid
-			return;
-		elseif not(UnitInParty("player") then
+			print("lalala24")
+			return
+		elseif not(UnitInParty("player")) then
 			f:DisableMod();
+			return
 		end
-
+		print("lalala2")
 		watching = {}
 		f:HideBars();
-
+		local unittowatch;
 		if(UnitGroupRolesAssigned("player")=="HEALER") then
 			unittowatch = "player";
 		else