made loadfile less chatty

This commit is contained in:
Izaya 2019-11-09 13:46:51 +11:00
parent a335ff5c87
commit ac98d09b93
1 changed files with 0 additions and 1 deletions

View File

@ -8,7 +8,6 @@ function runfile(p,...) -- runs file *p* with arbitrary arguments in the current
return loadfile(p)(...)
end
function os.spawnfile(p,n) -- spawns a new process from file *p* with name *n*
dprint(p,n)
return os.spawn(function() xpcall(loadfile(p),function(e) dprint(e.."\n"..debug.traceback()) end) end,n or p)
end
function require(f) -- searches for a library with name *f* and returns what the library returns, if possible