From 22a6745b747b919a6d749423a111bd9ab154b215 Mon Sep 17 00:00:00 2001 From: HJfod <60038575+HJfod@users.noreply.github.com> Date: Sun, 26 Mar 2023 10:39:40 +0200 Subject: [PATCH] make Mod::getResourcesDir return `resources/{mod.id}` --- loader/src/loader/Mod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/src/loader/Mod.cpp b/loader/src/loader/Mod.cpp index 3af20ee0..c8917e1d 100644 --- a/loader/src/loader/Mod.cpp +++ b/loader/src/loader/Mod.cpp @@ -73,7 +73,7 @@ ghc::filesystem::path Mod::getBinaryPath() const { } ghc::filesystem::path Mod::getResourcesDir() const { - return dirs::getModRuntimeDir() / this->getID() / "resources"; + return dirs::getModRuntimeDir() / this->getID() / "resources" / this->getID(); } Result<> Mod::saveData() {