Misprint in Lua API - Enemy

Started by Diarandor, February 25, 2015, 07:18:08 AM

Previous topic - Next topic
There is a misprint in the Lua API of "enemy" (here: http://www.solarus-games.org/doc/latest/lua_api_enemy.html)
in the last lines of the example of the Overview, it should be written m:start(self) instead of  self:start_movement(m).
I suppose that was the old syntax. That misprint could give problems for beginners of solarus.
"If you make people think they're thinking, they'll love you. But if you really make them think, they'll hate you."

Nice catch. I just fixed it in 1.4. Thanks for the report!