diff --git a/game/modules/tome/data/quests/arena-unlock.lua b/game/modules/tome/data/quests/arena-unlock.lua index a70a460fc979b1f9506d00e10468eb527a249aa3..ebd2ec50e2cd346600ea2574e876898ab1be8726 100644 --- a/game/modules/tome/data/quests/arena-unlock.lua +++ b/game/modules/tome/data/quests/arena-unlock.lua @@ -26,3 +26,7 @@ desc = function(self, who) end return table.concat(desc, "\n") end + +on_status_change = function(self, who, status, sub) + if self:isCompleted() then who:setQuestStatus(self.id, engine.Quest.DONE) end +end diff --git a/game/modules/tome/data/quests/trollmire-treasure.lua b/game/modules/tome/data/quests/trollmire-treasure.lua index ffff1b1f755e7d4223f660890240513306478790..9f298f672bc25cd619fc982ba3e6e1bc1919786d 100644 --- a/game/modules/tome/data/quests/trollmire-treasure.lua +++ b/game/modules/tome/data/quests/trollmire-treasure.lua @@ -29,11 +29,7 @@ desc = function(self, who) end on_status_change = function(self, who, status, sub) - if sub then - if self:isCompleted() then - who:setQuestStatus(self.id, engine.Quest.DONE) - end - end + if self:isCompleted() then who:setQuestStatus(self.id, engine.Quest.DONE) end end on_grant = function(self)