File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ void LuaStateWrapper::Initialize() {
250
250
// Override "require" to be able to track loaded packages so we can clear them when scripts are reloaded.
251
251
" _RequiredPackages = {};\n "
252
252
" OriginalRequire = require; require = function(filePath) _RequiredPackages[filePath] = true; return OriginalRequire(filePath); end;\n "
253
- " _ClearRequiredPackages = function() for k, v in pairs(_RequiredPackages) do print( \" clearing: \" .. k); package.loaded[k] = nil; end; _RequiredPackages = {}; end;\n "
253
+ " _ClearRequiredPackages = function() for k, v in pairs(_RequiredPackages) do package.loaded[k] = nil; end; _RequiredPackages = {}; end;\n "
254
254
// Internal helper functions to add callbacks for async pathing requests
255
255
" _AsyncPathCallbacks = {};\n "
256
256
" _AddAsyncPathCallback = function(id, callback) _AsyncPathCallbacks[id] = callback; end\n "
You can’t perform that action at this time.
0 commit comments