Hello,
I am currently working on a module for my game, but I get an error when I try to retrieve a function from the file.
Here is my module, called grid.lua:
local t = {} local function test() print("Hello World!") end return t
And here is how I load it in to main.lua:
local grid = require "grid" grid.test()
Any help would be appreciated.