mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-03-20 06:45:58 +01:00
aef
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user