mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-06 11:12:40 +01:00
aef
This commit is contained in:
parent
9bf63bee01
commit
767ce504c6
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user