add 'player-entity' to defaults.toml

This commit is contained in:
MihailRis
2025-02-12 16:32:21 +03:00
parent f0c7bc6377
commit 3430e5cd6f
10 changed files with 34 additions and 11 deletions
+5
View File
@@ -23,6 +23,7 @@
#include "data/dv_util.hpp"
#include "data/StructLayout.hpp"
#include "presets/ParticlesPreset.hpp"
#include "io/engine_paths.hpp"
namespace fs = std::filesystem;
using namespace data;
@@ -760,6 +761,10 @@ void ContentLoader::load() {
auto folder = pack->folder;
builder.defaults = paths.readCombinedObject(
EnginePaths::CONFIG_DEFAULTS.string()
);
// Load world generators
io::path generatorsDir = folder / "generators";
foreach_file(generatorsDir, [this](const io::path& file) {