Author Topic: Misprint in Lua API - Enemy  (Read 1302 times)

Diarandor

  • Hero Member
  • *****
  • Posts: 1046
  • Cats are cool! (ΦωΦ)
    • View Profile
Misprint in Lua API - Enemy
« on: February 25, 2015, 07:18:08 am »
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.”

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1173
    • View Profile
Re: Misprint in Lua API - Enemy
« Reply #1 on: February 25, 2015, 11:27:51 am »
Nice catch. I just fixed it in 1.4. Thanks for the report!