Use lua_rawget instead of lua_gettable in ActorFrame::IdenticalChildrenIndexLayer to avoid self recursion on invalid number indices.
This commit is contained in:
+1
-1
@@ -316,7 +316,7 @@ static int IdenticalChildrenIndexLayer(lua_State* L)
|
||||
{
|
||||
if(lua_isnumber(L, 2))
|
||||
{
|
||||
lua_gettable(L, 1);
|
||||
lua_rawget(L, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user