From d7a88c59b1541fb6f525cb48580bb4d97c8dffce Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Sat, 11 Feb 2012 06:20:26 +0100 Subject: [PATCH] Make sure we actually keep the var we intended to use --- Monomyth.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Monomyth.lua b/Monomyth.lua index 6d9751e..e5eaf2b 100644 --- a/Monomyth.lua +++ b/Monomyth.lua @@ -162,10 +162,11 @@ end) local completedQuests, query = {} Monomyth:Register('QUEST_QUERY_COMPLETE', function() if(query) then + local bag = query query = nil - GetQuestsCompleted(completedQuests) - Monomyth.BAG_UPDATE(query) + GetQuestsCompleted(completedQuests) + Monomyth.BAG_UPDATE(bag) end end) -- 1.7.9.5