脚本事件去垃圾。

This commit is contained in:
u0u0
2020-01-28 11:08:17 +08:00
parent e96889d865
commit 957dc96f03
11 changed files with 47 additions and 820 deletions

View File

@@ -621,7 +621,8 @@ int LuaStack::luaLoadChunksFromZIP(lua_State *L)
{
if (lua_gettop(L) < 1) {
CCLOG("luaLoadChunksFromZIP() - invalid arguments");
return 0;
lua_pushboolean(L, 0);
return 1;
}
const char *zipFilename = lua_tostring(L, -1);