From a1d7cfc7c9db3ada3c1f649087753f8ee2f7627f Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Fri, 25 Apr 2014 20:55:42 +0000 Subject: [PATCH] Fix ticket 337: Value elements may not have a params field. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1318 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleFrame.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OvaleFrame.lua b/OvaleFrame.lua index 17cf5a7..b0d2866 100644 --- a/OvaleFrame.lua +++ b/OvaleFrame.lua @@ -1,7 +1,7 @@ --[[-------------------------------------------------------------------- Ovale Spell Priority Copyright (C) 2009, 2010, 2011, 2012 Sidoine - Copyright (C) 2012, 2013 Johnny C. Lam + Copyright (C) 2012, 2013, 2014 Johnny C. Lam This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License in the LICENSE @@ -202,7 +202,7 @@ do end if element and element.type == "value" then local actionTexture - if node.params.texture then + if node.params and node.params.texture then actionTexture = API_GetSpellTexture(node.params.texture) end local value -- 1.7.9.5