update generators scanning

This commit is contained in:
MihailRis
2024-09-27 23:55:14 +03:00
parent 39030efd74
commit c46090f881
14 changed files with 46 additions and 9 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ void ContentLoader::loadGenerator(
map.at("biome_parameters").get(def.biomeParameters);
map.at("sea_level").get(def.seaLevel);
auto folder = generatorsDir / fs::u8path(name);
auto folder = generatorsDir / fs::u8path(name + ".files");
auto scriptFile = folder / fs::u8path("script.lua");
auto structuresFile = folder / STRUCTURES_FILE;