Merge branch 'unfinished-ag2' of https://github.com/Team-Cerulean-Blue/Halyde into unfinished-ag2

This commit is contained in:
Ponali
2026-05-03 14:13:15 +02:00
+1 -1
View File
@@ -350,7 +350,7 @@ function filesystem.open(path, mode, buffered) -- opens a file and returns its h
end end
end end
function properHandle.seek(self, whence, offset) function properHandle.seek(self, whence, offset)
checkArg(2, whence, "string", "number") checkArg(2, whence, "string", "number", "nil")
checkArg(3, offset, "number", "nil") checkArg(3, offset, "number", "nil")
if not offset then if not offset then
offset = 0 offset = 0