Created
September 27, 2015 13:22
-
-
Save Vavius/0f9ee326062ed24392af to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ResourceMgr:loadTable(filePath) | |
local tbl = assert(loadfile(filePath)) | |
setfenv(tbl, {}) | |
return tbl() | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment