Update getTime.lua

This commit is contained in:
erius0 2021-01-08 16:50:10 +03:00 committed by GitHub
parent de0573a59c
commit ea710381b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,8 +8,8 @@ while true do
end end
local f = io.open("time.txt", "w") local f = io.open("time.txt", "w")
f:write(result) f:write(result)
f:close f:close()
local f = io.open("time.txt". "r") f = io.open("time.txt". "r")
f:seek("set", 31) f:seek("set", 31)
local time = f:read(16) local time = f:read(16)
f:close() f:close()