mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-03-21 06:40:02 +01:00
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)
|
||||
{
|
||||
getPartIndex_curIdx = -1;
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int luatpt_next_getPartIndex(lua_State* l)
|
||||
|
Loading…
x
Reference in New Issue
Block a user