Update ECSAPI.lua

This commit is contained in:
Igor Timofeev 2015-09-13 00:48:58 +03:00
parent 28f1634efe
commit ea4136940a

View File

@ -1493,7 +1493,7 @@ end
-- swg2you, привет маме ;)
function ECSAPI.copyFolder(path, toPath)
local function doCopy(path)
local fileList = ecs.getFileList(path)
local fileList = ECSAPI.getFileList(path)
for i = 1, #fileList do
if fs.isDirectory(path..fileList[i]) then
doCopy(path..fileList[i])