Hi all, I have a bit of an odd question.
When importing lua modules, they go into a local variable scope, and you need to access its function using that namespace.
local mymod = require("mymodule")
mymod.myfunc()
Is there a way to trick it so that you can access those functions directly, like if they were global?
I recall reading an article at some point that had something along these lines, but I can’t find that article again nor I’m sure it was solving this particular issue.