Change '//' to '/'. This fixes a problem where its calling require when it should call dofile.

This commit is contained in:
markjcrane 2015-08-11 20:25:34 -06:00
parent 237d6c5d90
commit 82b7d6fd79
1 changed files with 1 additions and 1 deletions

View File

@ -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)