Merge branch 'main' into update-gfx-pipeline

This commit is contained in:
MihailRis
2025-07-01 23:38:38 +03:00
7 changed files with 30 additions and 18 deletions
+5 -1
View File
@@ -149,8 +149,12 @@ void EnginePaths::setProjectFolder(std::filesystem::path folder) {
}
void EnginePaths::setCurrentWorldFolder(io::path folder) {
if (folder.empty()) {
io::remove_device("world");
} else {
io::create_subdevice("world", "user", folder);
}
this->currentWorldFolder = std::move(folder);
io::create_subdevice("world", "user", currentWorldFolder);
}
std::string EnginePaths::mount(const io::path& file) {