mirror of
https://github.com/minetest/minetestmapper.git
synced 2025-07-01 16:10:23 +02:00
Refactoring (1)
This commit is contained in:
@ -290,7 +290,7 @@ void TileGenerator::openDb(const std::string &input)
|
||||
std::ifstream ifs((input + "/world.mt").c_str());
|
||||
if(!ifs.good())
|
||||
throw std::runtime_error("Failed to read world.mt");
|
||||
backend = get_setting("backend", ifs);
|
||||
backend = read_setting("backend", ifs);
|
||||
ifs.close();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user