Update getTime.lua
This commit is contained in:
parent
119b452604
commit
bba87decb1
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +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 = 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()
|
||||||
|
|
Loading…
Reference in a new issue