diff options
author | madmaxoft <github@xoft.cz> | 2013-11-23 20:26:23 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-11-23 20:26:23 +0100 |
commit | e662a3109466011514d154373ba9f39066e4a80e (patch) | |
tree | 84135976f9312e9945b37cf0b48b4d2e1441b3c3 /source/ManualBindings.cpp | |
parent | Added cFile:ReadWholeFile() to Lua API. (diff) | |
download | cuberite-e662a3109466011514d154373ba9f39066e4a80e.tar cuberite-e662a3109466011514d154373ba9f39066e4a80e.tar.gz cuberite-e662a3109466011514d154373ba9f39066e4a80e.tar.bz2 cuberite-e662a3109466011514d154373ba9f39066e4a80e.tar.lz cuberite-e662a3109466011514d154373ba9f39066e4a80e.tar.xz cuberite-e662a3109466011514d154373ba9f39066e4a80e.tar.zst cuberite-e662a3109466011514d154373ba9f39066e4a80e.zip |
Diffstat (limited to '')
-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); |