hohserg

Untitled

Feb 3rd, 2020
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. local baseProxy={
  2.     __index={
  3.             open=function(path, mode)
  4.                 return real_fs.open(rootDir..path,mode)--откуда rootDir?
  5.             end
  6.     }
  7. }
  8.  
  9. proxies={}
  10.  
  11. proxies[rootDir]=setmetatable({rootDir=rootDir},baseProxy)
Advertisement
Add Comment
Please, Sign In to add comment