Yonaba / Jumper

Fast, lightweight and easy-to-use pathfinding library for grid-based games
http://yonaba.github.io/Jumper
MIT License
607 stars 122 forks source link

Syntax error in jumper/core/lookuptable.lua#L1 #45

Open xpol opened 8 years ago

xpol commented 8 years ago

https://github.com/Yonaba/Jumper/blob/master/jumper/core/lookuptable.lua#L1

local addNode(self, node, nextNode, ed)

did you mean

local function addNode(self, node, nextNode, ed)
Yonaba commented 8 years ago

Hi @xpol Much thanks for noticing that. It is definitely a syntax error. Feel free to fire a pull request. Bear in mind this module is an experimental feature I was thinking of adding, and I might remove it though.

xpol commented 8 years ago

Here is #46

You must need

:smile: