You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: