From dfd7628950df0a47f2903028b58b5c69ea2ae0d4 Mon Sep 17 00:00:00 2001 From: wrrrzr <161970349+wrrrzr@users.noreply.github.com> Date: Sun, 5 Jan 2025 15:20:37 +0300 Subject: [PATCH] Rename getGameMinetestConfig to getGameConfig --- src/content/subgames.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/content/subgames.cpp b/src/content/subgames.cpp index d0644248e..980f0188c 100644 --- a/src/content/subgames.cpp +++ b/src/content/subgames.cpp @@ -22,9 +22,8 @@ namespace { -bool getGameMinetestConfig(const std::string &game_path, Settings &conf) +bool getGameConfig(const std::string &game_path, Settings &conf) { - // TODO: rename this std::string conf_path = game_path + DIR_DELIM + "minetest.conf"; return conf.readConfigFile(conf_path.c_str()); } @@ -355,7 +354,7 @@ void loadGameConfAndInitWorld(const std::string &path, const std::string &name, game_settings = Settings::createLayer(SL_GAME); } - getGameMinetestConfig(gamespec.path, *game_settings); + getGameConfig(gamespec.path, *game_settings); game_settings->removeSecureSettings(); infostream << "Initializing world at " << final_path << std::endl;