mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-07-30 21:20:15 +02:00
fix crash when using tpt.start_getPartIndex
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user