How to require another lua script?


#1

I have a lib file I made for saving/loading data from a file but I cannot get it to include right from my main script. It just returns the object is nil.

local loadsave = require "resources/on-duty/loadsave"