1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-12-12 11:10:28 +00:00

Update mtape.lua

Fixed local file tape writing
This commit is contained in:
LDDestroier 2023-09-30 14:52:51 -04:00 committed by GitHub
parent 2f91b70711
commit 3f4ed18780
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ local function getFileContents(path, isURL)
if isURL then
file = http.get(path, nil, true)
else
file = fs.open(fs.combine(shell.dir(), path))
file = fs.open(fs.combine(shell.dir(), path), "r")
end
if not file then
return false, ""