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