A cocos2d-x2.1.4 lua bug

yesterday, I upgraded the program to 2.1.4, I found the lua function, eg: foo(…), in the foo function, I could not use arg table, lua reported arg is nil.

I then removed the luajit, problem solved.

you can capture the param list like this:

local arg = {…}

that’ll work in 2.1.4 with luaJIT too :slight_smile:

Sami Peltomaa wrote:

you can capture the param list like this:
> local arg = {…}
>
that’ll work in 2.1.4 with luaJIT too :slight_smile:

Thanks