From 397e517ec45d6a31218db9b86d4f3bb9df75d9a4 Mon Sep 17 00:00:00 2001 From: Sidoine De Wispelaere Date: Sat, 2 Jan 2010 12:36:20 +0000 Subject: [PATCH] sorry :( git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@184 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- Ovale.lua | 2 +- Ovale.toc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Ovale.lua b/Ovale.lua index 633362f..3aef017 100644 --- a/Ovale.lua +++ b/Ovale.lua @@ -1321,7 +1321,7 @@ function Ovale:CalculerMeilleureAction(element) elseif element.comparison == "at most" and tempsA and tempsA<=element.time then if Ovale.trace then Ovale:Print(element.type.." return 0") end return 0 - elseif element.comparison == "at least" and tempsA and tempsA>=element.time then + elseif element.comparison == "at least" and (not tempsA or tempsA>=element.time) then if Ovale.trace then Ovale:Print(element.type.." return 0") end return 0 end diff --git a/Ovale.toc b/Ovale.toc index f753594..7b0c8af 100644 --- a/Ovale.toc +++ b/Ovale.toc @@ -3,7 +3,7 @@ ## Notes: Show the icon of the next spell to cast ## Notes-frFR: Affiche l'icône du prochain sort à lancer ## Author: Sidoine -## Version: 3.3.9 +## Version: 3.3.10 ## OptionalDeps: Ace3, ButtonFacade, Recount, LibBabble-CreatureType-3.0 ## SavedVariables: OvaleDB ## SavedVariablesPerCharacter: OvaleDBPC -- 1.7.9.5