add dv::merge & update EnginePaths::readCombinedObject

This commit is contained in:
MihailRis
2025-02-20 22:08:09 +03:00
parent 12105c2933
commit 84d5b5d1a8
5 changed files with 52 additions and 6 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ void ContentLoader::loadGenerator(
load_structures(def, structuresMap, structuresFile.parent(), paths);
auto biomesFile = GENERATORS_DIR / (name + ".files") / BIOMES_FILE;
auto biomesMap = paths.readCombinedObject(biomesFile.string());
auto biomesMap = paths.readCombinedObject(biomesFile.string(), true);
if (biomesMap.empty()) {
throw std::runtime_error(
"generator " + util::quote(def.name) +