mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2025-12-20 02:59:20 +01:00
Fixed Nanomachines.app crash
This commit is contained in:
parent
3de8915838
commit
24cc86a274
@ -1,13 +1,13 @@
|
||||
|
||||
local GUI = require("GUI")
|
||||
local screen = require("Screen")
|
||||
local fs = require("Filesystem")
|
||||
local color = require("Color")
|
||||
local image = require("Image")
|
||||
local system = require("System")
|
||||
local paths = require("Paths")
|
||||
local system = require("System")
|
||||
local text = require("Text")
|
||||
local filesystem = require("Filesystem")
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
@ -30,7 +30,8 @@ local config = {
|
||||
}
|
||||
|
||||
local configPath = paths.user.applicationData .. "Nanomachines/Config.cfg"
|
||||
if fs.exists(configPath) then
|
||||
|
||||
if filesystem.exists(configPath) then
|
||||
config = filesystem.readTable(configPath)
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user