mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 20:16:38 +09:00
Move files to exp_legacy
This commit is contained in:
8
exp_legacy/module/overrides/require.lua
Normal file
8
exp_legacy/module/overrides/require.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
local loaded = package.loaded
|
||||
local raw_require = require
|
||||
|
||||
function require(path)
|
||||
return loaded[path] or error('Can only require files at runtime that have been required in the control stage.', 2)
|
||||
end
|
||||
|
||||
return raw_require
|
||||
Reference in New Issue
Block a user