Skip to content
Snippets Groups Projects
Commit ddb3b7e1 authored by Alex Ksandra's avatar Alex Ksandra
Browse files

Apprentice Quest should probably close the selection dialog and not leave it

parent f61825fa
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ collect_staff_unique = function(self, npc, who, dialog)
game.level.map:particleEmitter(npc.x, npc.y, 3, "fireflash", {radius=3, tx=npc.x, ty=npc.y})
world:gainAchievement("APPRENTICE_STAFF", player)
npc:die()
return true
return false
end
self.nb_collect = self.nb_collect + 1
......@@ -63,7 +63,7 @@ collect_staff_unique = function(self, npc, who, dialog)
game.log("You have no more %s", o:getName{no_count=true, do_color=true})
who:sortInven(who:getInven(inven))
dialog:regen()
return true
return false
end
)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment