diff --git a/Source/engine/assets.cpp b/Source/engine/assets.cpp index ffc800904..c803fe631 100644 --- a/Source/engine/assets.cpp +++ b/Source/engine/assets.cpp @@ -491,7 +491,7 @@ void LoadModArchives(std::span modnames) if (FileExists(targetPath)) { OverridePaths.emplace_back(targetPath); } - targetPath = StrCat(SDL_GetBasePath(), "mods" DIRECTORY_SEPARATOR_STR, modname, DIRECTORY_SEPARATOR_STR); + targetPath = StrCat(paths::BasePath(), "mods" DIRECTORY_SEPARATOR_STR, modname, DIRECTORY_SEPARATOR_STR); if (FileExists(targetPath)) { OverridePaths.emplace_back(targetPath); }