Removed profiling print

This commit is contained in:
Matteo Biscosi 2024-02-21 10:36:39 +00:00
parent 92d9b101c2
commit 9f9beb0303
2 changed files with 3 additions and 12 deletions

View file

@ -648,9 +648,9 @@ local function loadAndCheckScript(mod_fname, full_path, script, script_type, sub
traceError(TRACE_DEBUG, TRACE_CONSOLE, string.format("Loading user script '%s'", mod_fname))
profiling.get_current_memory(full_path .. "?1")
--profiling.get_current_memory(full_path .. "?1")
local check = dofile(full_path)
profiling.get_current_memory(full_path .. "?2")
--profiling.get_current_memory(full_path .. "?2")
if (type(check) ~= "table") then
traceError(TRACE_ERROR, TRACE_CONSOLE, string.format("Loading '%s' failed", full_path))