Commit a8fd9786fb7d7247d27be58422975629496d3db0

Authored by dg
1 parent a7c8ccbe

Movement tutorial appears once again


git-svn-id: http://svn.net-core.org/repos/t-engine4@3472 51575b47-30f0-44d4-a5cc-537603b46e54
... ... @@ -100,11 +100,6 @@ function _M:onBirth(birther)
100 100 self.random_escort_levels[z[1]][z[2]] = true
101 101 end
102 102 end
103   -
104   - if self.descriptor.world == "Tutorial" then
105   - local d = require("engine.dialogs.ShowText").new("Tutorial: Movement", "tutorial/move")
106   - game:registerDialog(d)
107   - end
108 103 end
109 104
110 105 function _M:onEnterLevel(zone, level)
... ...
... ... @@ -30,3 +30,8 @@ on_status_change = function(self, who, status, sub)
30 30 world:gainAchievement("TUTORIAL_DONE", game.player)
31 31 end
32 32 end
  33 +
  34 +on_grant = function(self)
  35 + local d = require("engine.dialogs.ShowText").new("Tutorial: Movement", "tutorial/move")
  36 + game:registerDialog(d)
  37 +end
... ...