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);
|
||||
if (
|
||||
!L.CheckParamUserType(1, "cWorld") ||
|
||||
!L.CheckParamNumber (2) ||
|
||||
!L.CheckParamFunction(3)
|
||||
!L.CheckParamFunction(2)
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user