Removed useless imports in lua code upping the memory usage

This commit is contained in:
Matteo Biscosi 2024-02-15 15:21:30 +00:00
parent 2f76c9bf4b
commit dbf4bf2a2b
53 changed files with 2981 additions and 3255 deletions

View file

@ -6,7 +6,7 @@
-- periodics checks and callbacks.
--
scripts_triggers = {}
local scripts_triggers = {}
local clock_start = os.clock()
@ -108,8 +108,4 @@ end
-- ###########################################
if(trace_script_duration ~= nil) then
io.write(debug.getinfo(1,'S').source .." executed in ".. (os.clock()-clock_start)*1000 .. " ms\n")
end
return scripts_triggers