Permalink
Browse files

fix crash when using tpt.start_getPartIndex

  • Loading branch information...
jacob1 committed Nov 4, 2017
1 parent 7d4010d commit 1b19e042b255e1445a89cd8d9c6cf23b19cc657f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/lua/LegacyLuaAPI.cpp
@@ -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)

0 comments on commit 1b19e04

Please sign in to comment.