Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create example that makes it easy to track potential issue with Lua require command #60

Open
JacobChrist opened this issue Mar 16, 2023 · 0 comments
Assignees
Labels
bug Something isn't working Lua

Comments

@JacobChrist
Copy link
Member

Describe the bug
When testing the Lua require command I saw some funny behavior when trying to requrie lua scripts that are both in the same directory as the calling script as well as in a sub directory in the directory of the calling script. Specifically, it seemed that when the two require statements were added that some of the imported functions did not get loaded (or maybe they got overwritten by the second require call). The issue may be my lack of Lua experience. This task is for me to create a better example in the form of:

/calling.lua
/called1.lua
/sub/called2.lua

@JacobChrist JacobChrist added bug Something isn't working Lua labels Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Lua
Projects
None yet
Development

No branches or pull requests

2 participants