diff options
Diffstat (limited to 'src/subgame.cpp')
-rw-r--r-- | src/subgame.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/subgame.cpp b/src/subgame.cpp index 8678ae37f..19ad4e636 100644 --- a/src/subgame.cpp +++ b/src/subgame.cpp @@ -24,6 +24,12 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "log.h" #include "util/string.h" +bool getGameMinetestConfig(const std::string &game_path, Settings &conf) +{ + std::string conf_path = game_path + DIR_DELIM + "minetest.conf"; + return conf.readConfigFile(conf_path.c_str()); +} + bool getGameConfig(const std::string &game_path, Settings &conf) { std::string conf_path = game_path + DIR_DELIM + "game.conf"; |