From afdde41a1bf7dc4b7e8d6ff80af7842511d25ff5 Mon Sep 17 00:00:00 2001 From: Clayton Gilmer Date: Mon, 2 May 2022 19:05:32 -0400 Subject: [PATCH] minor change related to how default is set --- src/client/component/database.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/component/database.cpp b/src/client/component/database.cpp index 16a625a3..37300a2a 100644 --- a/src/client/component/database.cpp +++ b/src/client/component/database.cpp @@ -39,7 +39,7 @@ namespace database nullptr }; - int default_value = utils::io::directory_exists("Data/data") ? 0 : 1; + int default_value = (utils::io::directory_exists("Data/data") && utils::io::directory_exists("Data/config") && utils::io::directory_exists("Data/indices")) ? 0 : 1; db_filesysImpl = dvars::register_enum("db_filesysImpl", values, default_value, game::DVAR_FLAG_READ); if (default_value == 1)