fix preset failing to default
This commit is contained in:
parent
46f1020bfa
commit
6fa042eda5
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
preset = rawget(_G, 'preset') or 'ars'
|
||||
local preset = rawget(_G, 'preset') or 'ars'
|
||||
|
||||
local common_cfg = {
|
||||
-- read-only modes:
|
||||
|
|
2
main.lua
2
main.lua
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue