View Bug Report
Cannot catch failed quests
Bug #: 445
File: FuBar - QuestsFu
Date: 03-26-06 08:41 AM
By: Boss
Status: Fixed
if isComplete then
isComplete = format("(%s)",self.loc.QUEST_DONE)
elseif isComplete == -1 then
isComplete = format("(%s)",self.loc.QUEST_FAILED)
else
isComplete = ""
end

should be changed to

if isComplete == 1 then
isComplete = format("(%s)",self.loc.QUEST_DONE)
elseif isComplete == -1 then
isComplete = format("(%s)",self.loc.QUEST_FAILED)
else
isComplete = ""
end

the `if isComplete then` catches all non-nil, non-false values, which includes -1.

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: Kemayo - 03-26-06 01:02 PM
I'll fix that. (The perils of adding things on, obviously.)