Fixed Lua bindings for cFile:GetFolderContents().
This commit is contained in:
parent
94e14e1ace
commit
e662a31094
@ -183,7 +183,7 @@ static int tolua_cFile_GetFolderContents(lua_State * tolua_S)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
AString Folder = (AString)tolua_tocppstring(LuaState, 1, 0);
|
AString Folder = (AString)tolua_tocppstring(LuaState, 2, 0);
|
||||||
|
|
||||||
AStringVector Contents = cFile::GetFolderContents(Folder);
|
AStringVector Contents = cFile::GetFolderContents(Folder);
|
||||||
LuaState.Push(Contents);
|
LuaState.Push(Contents);
|
||||||
|
Loading…
Reference in New Issue
Block a user