diff options
Diffstat (limited to 'source/ManualBindings.cpp')
-rw-r--r-- | source/ManualBindings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ManualBindings.cpp b/source/ManualBindings.cpp index 967b03ee7..02b3347f6 100644 --- a/source/ManualBindings.cpp +++ b/source/ManualBindings.cpp @@ -183,7 +183,7 @@ static int tolua_cFile_GetFolderContents(lua_State * tolua_S) return 0; } - AString Folder = (AString)tolua_tocppstring(LuaState, 1, 0); + AString Folder = (AString)tolua_tocppstring(LuaState, 2, 0); AStringVector Contents = cFile::GetFolderContents(Folder); LuaState.Push(Contents); |