1 - bad global access to quest at 129
This should fix it:
local function BQH_obj_lookup(qName)
for i, objective in pairs(QuestHelper.route do
if (objective.watched then
local quest
if (QuestHelper.route[i].cat == "quest") then
quest = QuestHelper.route[i]
elseif (QuestHelper.route[i] and QuestHelper.route[i].quest) then
quest = QuestHelper.route[i].quest
end
if (quest) then
local level, name = string.match(quest.obj, "^(%d+)/%d*/(.*)$")
if (name == qName) then
return true
end
end
end
end
return false
end
| User | When | Change |
|---|---|---|
| Azethoth | Thu, 04 Dec 2008 06:54:05 | Create |