mirror of
https://github.com/d0k3/GodMode9.git
synced 2026-05-30 22:36:55 +00:00
Lua io: fix read mode opening by actually setting readable attribute
This commit is contained in:
parent
53cafcb66d
commit
d6c537a626
@ -102,6 +102,7 @@ function file.new(filename, mode)
|
||||
of._stat = stat
|
||||
-- this is so i can adjust the size when data is written
|
||||
of._size = stat.size
|
||||
of._readable = true
|
||||
end
|
||||
debugf("returning of")
|
||||
return of
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user