fix name of config variables.

This commit is contained in:
Enno Rehling 2017-11-12 14:32:08 +01:00
parent 48a58fc907
commit d2356d9e4f
2 changed files with 4 additions and 2 deletions

View File

@ -91,8 +91,8 @@ void db_open(void)
int err; int err;
const char *dbname; const char *dbname;
g_order_batchsize = config_get_int("config.db_batch", 100); g_order_batchsize = config_get_int("game.dbbatch", 100);
dbname = config_get("config.db_name"); dbname = config_get("game.dbname");
if (!dbname) { if (!dbname) {
dbname = ""; dbname = "";
} }

View File

@ -86,6 +86,8 @@ static const char * valid_keys[] = {
"game.mailcmd", "game.mailcmd",
"game.era", "game.era",
"game.sender", "game.sender",
"game.dbname",
"game.dbbatch",
"editor.color", "editor.color",
"editor.codepage", "editor.codepage",
"editor.population.", "editor.population.",