fix crash when using tpt.start_getPartIndex

This commit is contained in:
jacob1 2017-11-04 13:22:22 -04:00
parent 7d4010d2df
commit 1b19e042b2

View File

@ -1711,7 +1711,7 @@ int luatpt_get_numOfParts(lua_State* l)
int luatpt_start_getPartIndex(lua_State* l)
{
getPartIndex_curIdx = -1;
return 1;
return 0;
}
int luatpt_next_getPartIndex(lua_State* l)