fix crash when using tpt.start_getPartIndex
This commit is contained in:
parent
7d4010d2df
commit
1b19e042b2
@ -1711,7 +1711,7 @@ int luatpt_get_numOfParts(lua_State* l)
|
|||||||
int luatpt_start_getPartIndex(lua_State* l)
|
int luatpt_start_getPartIndex(lua_State* l)
|
||||||
{
|
{
|
||||||
getPartIndex_curIdx = -1;
|
getPartIndex_curIdx = -1;
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int luatpt_next_getPartIndex(lua_State* l)
|
int luatpt_next_getPartIndex(lua_State* l)
|
||||||
|
Reference in New Issue
Block a user