make Mod::getResourcesDir return resources/{mod.id}

This commit is contained in:
HJfod 2023-03-26 10:39:40 +02:00
parent 8c969a8628
commit 22a6745b74

View file

@ -73,7 +73,7 @@ ghc::filesystem::path Mod::getBinaryPath() const {
} }
ghc::filesystem::path Mod::getResourcesDir() const { ghc::filesystem::path Mod::getResourcesDir() const {
return dirs::getModRuntimeDir() / this->getID() / "resources"; return dirs::getModRuntimeDir() / this->getID() / "resources" / this->getID();
} }
Result<> Mod::saveData() { Result<> Mod::saveData() {