Restored floating point time granularity.

This commit is contained in:
Adam Harrison committed 2022-01-08 12:59:15 -05:00
1 parent 93076bdc41
commit 31d448971a
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -779,8 +779,8 @@ function core.confirm_close_docs(docs, close_fn, ...)
end
end
local temp_uid = (system.get_time() * 1000) % 0xffffffff
local temp_file_prefix = string.format(".lite_temp_%08x", temp_uid)
local temp_uid = math.floor(system.get_time() * 1000) % 0xffffffff
local temp_file_prefix = string.format(".lite_temp_%08x", tonumber(temp_uid))
local temp_file_counter = 0
local function delete_temp_files()