This commit is contained in:
Igor Timofeev 2015-11-19 07:06:30 +03:00
parent 9bf63bee01
commit 767ce504c6

View File

@ -23,7 +23,7 @@ local xOld, yOld = gpu.getResolution()
ecs.setScale(config.scale)
local xSize, ySize = gpu.getResolution()
local pathToFiles = "Infopanel/"
local pathToFiles = "InfoPanel/"
fs.makeDirectory(pathToFiles)
local currentFile = 1
local fileList
@ -62,6 +62,7 @@ local function drawLeftBar()
end
local function loadFile()
currentString = 1
stroki = {}
local file = io.open(pathToFiles .. fileList[currentFile], "r")
for line in file:lines() do table.insert(stroki, line) end