fix preset failing to default

This commit is contained in:
Connor Olding 2018-06-13 06:08:32 +02:00
parent 46f1020bfa
commit 6fa042eda5
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
preset = rawget(_G, 'preset') or 'ars'
local preset = rawget(_G, 'preset') or 'ars'
local common_cfg = {
-- read-only modes:

View file

@ -2,7 +2,7 @@ local globalize = require("strict")
-- configuration.
globalize{preset = arg}
globalize{preset = rawget(_G, arg)}
local cfg = require("config")
local gcfg = require("gameconfig")