Skip to content
Snippets Groups Projects
Commit a8fd9786 authored by dg's avatar dg
Browse files

Movement tutorial appears once again

git-svn-id: http://svn.net-core.org/repos/t-engine4@3472 51575b47-30f0-44d4-a5cc-537603b46e54
parent a7c8ccbe
No related branches found
No related tags found
No related merge requests found
......@@ -100,11 +100,6 @@ function _M:onBirth(birther)
self.random_escort_levels[z[1]][z[2]] = true
end
end
if self.descriptor.world == "Tutorial" then
local d = require("engine.dialogs.ShowText").new("Tutorial: Movement", "tutorial/move")
game:registerDialog(d)
end
end
function _M:onEnterLevel(zone, level)
......
......@@ -30,3 +30,8 @@ on_status_change = function(self, who, status, sub)
world:gainAchievement("TUTORIAL_DONE", game.player)
end
end
on_grant = function(self)
local d = require("engine.dialogs.ShowText").new("Tutorial: Movement", "tutorial/move")
game:registerDialog(d)
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