From b48b113b0e90a8db0ced2171713ba5ff874577c0 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Sat, 19 Oct 2013 07:52:52 +0000 Subject: [PATCH] Clear functions defined by AddFunction before compiling the script. Old function names were lingering between script compilations. Noted by @ShmooDude. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1066 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCompile.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/OvaleCompile.lua b/OvaleCompile.lua index 04fdd9a..295979b 100644 --- a/OvaleCompile.lua +++ b/OvaleCompile.lua @@ -701,6 +701,7 @@ local function CompileScript(text) Ovale.bug = false wipe(self_defines) + wipe(self_customFunctions) wipe(self_missingSpellList) wipe(self_functionCalls) -- 1.7.9.5