mirror of
https://github.com/d0k3/GodMode9.git
synced 2026-05-31 06:46:56 +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
|
of._stat = stat
|
||||||
-- this is so i can adjust the size when data is written
|
-- this is so i can adjust the size when data is written
|
||||||
of._size = stat.size
|
of._size = stat.size
|
||||||
|
of._readable = true
|
||||||
end
|
end
|
||||||
debugf("returning of")
|
debugf("returning of")
|
||||||
return of
|
return of
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user