mirror of https://github.com/axmolengine/axmol.git
Fix the bug that LuaStack::executeFunctionReturnArray hasn't deal with the condition of numArgs == 0
This commit is contained in:
parent
229ad0cc27
commit
d9291031cd
|
@ -587,7 +587,6 @@ int LuaStack::executeFunctionReturnArray(int handler,int numArgs,int numResults,
|
|||
}
|
||||
}
|
||||
|
||||
lua_settop(_state, 0);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue