loadstring custom environment limits
🌙 Lua•Updated 2 days ago•0 views
You can pass an env table to loadstring's second arg in SF, but you can't getfenv inside new functions (it returns the main thread env) - env tricks are limited…
Why did you add then remove custom env in loadstring - can you setfenv loaded chunks
You can pass an env table to loadstring's second arg in SF, but you can't getfenv inside new functions (it returns the main thread env) - env tricks are limited.