add logging to titlescreen and filereader
This commit is contained in:
parent
a3ae25cfad
commit
0b809dc798
|
@ -1,3 +1,4 @@
|
|||
require("common.globals")
|
||||
--file reader utility functions
|
||||
|
||||
---Get game path
|
||||
|
@ -86,6 +87,7 @@ function IsFileExists(file)
|
|||
|
||||
local ok, err, code = os.rename(file, file)
|
||||
if not ok then
|
||||
game.Log("err: "..err..", code: "..code, game.LOGGER_DEBUG)
|
||||
if code == 13 then
|
||||
-- Permission denied, but it exists
|
||||
return true
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
require("common.globals")
|
||||
local Common = require("common.util")
|
||||
|
||||
local bootScreen = require('titlescreen.boot')
|
||||
|
|
Loading…
Reference in New Issue