Simplify condition for brevity.
Johnny C. Lam [01-01-15 - 07:27]
Simplify condition for brevity.
diff --git a/Frame.lua b/Frame.lua
index a7a6354..d7fe242 100644
--- a/Frame.lua
+++ b/Frame.lua
@@ -249,7 +249,7 @@ do
state:Log("Adjusting for 'nored': start=%s", start)
end
-- Dans le cas de canStopChannelling, on risque de demander d'interrompre le channelling courant, ce qui est stupide
- if start and state.currentSpellId and state.nextCast and actionType == "spell" and actionId == state.currentSpellId and start < state.nextCast then
+ if actionType == "spell" and actionId == state.currentSpellId and start and state.nextCast and start < state.nextCast then
start = state.nextCast
end
if start and node.params.nocd and now < start - node.params.nocd then