Merge pull request #3327 from ElNounch/QueueTask
Fix cWorld:QueueTask() Lua's binding
This commit is contained in:
commit
b5e6e0c460
@ -478,8 +478,7 @@ static int tolua_cWorld_QueueTask(lua_State * tolua_S)
|
|||||||
cLuaState L(tolua_S);
|
cLuaState L(tolua_S);
|
||||||
if (
|
if (
|
||||||
!L.CheckParamUserType(1, "cWorld") ||
|
!L.CheckParamUserType(1, "cWorld") ||
|
||||||
!L.CheckParamNumber (2) ||
|
!L.CheckParamFunction(2)
|
||||||
!L.CheckParamFunction(3)
|
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user