Change '//' to '/'. This fixes a problem where its calling require when it should call dofile.
This commit is contained in:
parent
237d6c5d90
commit
82b7d6fd79
|
|
@ -16,7 +16,7 @@
|
|||
-- load config
|
||||
function load_config()
|
||||
local cfg = config()
|
||||
if cfg:sub(1,1) == '//' then
|
||||
if cfg:sub(1,1) == '/' then
|
||||
dofile(cfg)
|
||||
else
|
||||
require(cfg)
|
||||
|
|
|
|||
Loading…
Reference in New Issue