Quantcast

..\AddOns\Ovale\OvaleIcone.lua line 28:

Sidoine De Wispelaere [02-09-09 - 19:35]
..\AddOns\Ovale\OvaleIcone.lua line 28:
   attempt to compare number with nil

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@21 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvaleIcone.lua
diff --git a/OvaleIcone.lua b/OvaleIcone.lua
index 9ad61fd..3fd4d37 100644
--- a/OvaleIcone.lua
+++ b/OvaleIcone.lua
@@ -25,7 +25,7 @@
 		minAttente = nil
 	end

-	if (self.masterNode.params.nocd == 1 and minAttente>1.5) then
+	if (self.masterNode.params.nocd == 1 and minAttente~=nil and minAttente>1.5) then
 		minAttente = nil
 	end