From bba87decb11cdec20d34d7e1e0c974e42d8aa9a4 Mon Sep 17 00:00:00 2001 From: erius0 <63460770+erius0@users.noreply.github.com> Date: Fri, 8 Jan 2021 16:49:01 +0300 Subject: [PATCH] Update getTime.lua --- getTime.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/getTime.lua b/getTime.lua index 6c625c3..f20fee4 100644 --- a/getTime.lua +++ b/getTime.lua @@ -8,6 +8,8 @@ while true do end local f = io.open("time.txt", "w") f:write(result) + f:close + f = io.open("time.txt". "r") f:seek("set", 31) local time = f:read(16) f:close()