ntf transparency

This commit is contained in:
kepler155c@gmail.com
2019-07-10 19:02:46 -06:00
parent 8f17657263
commit 0e1b712adc
4 changed files with 15 additions and 9 deletions

View File

@@ -412,8 +412,8 @@ function Util.first(t, order)
end
--[[ File functions ]]--
function Util.readFile(fname)
local f = fs.open(fname, "r")
function Util.readFile(fname, flags)
local f = fs.open(fname, flags or "r")
if f then
local t = f.readAll()
f.close()