Skip to content

Conversation

gilzoide
Copy link
Owner

This PR changes the import behavior of GODOT_CLASSES and GODOT_SINGLETONS libraries to add all values to _G at open time instead of setting up a lazy getter for them in a metatable.
This way is easier to setup sandboxed environments since there's no danger of classes/singletons appearing out of nothing just by reading _G. As discussed in #141.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant