1
0

Merge pull request #3327 from ElNounch/QueueTask

Fix cWorld:QueueTask() Lua's binding
This commit is contained in:
Mattes D 2016-08-18 08:05:51 +02:00 committed by GitHub
commit b5e6e0c460

View File

@ -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;